Name: gold-email-input
Owner: PolymerElements
Description: An input element that only allows emails
Created: 2015-05-07 21:10:20.0
Updated: 2017-12-14 16:08:13.0
Pushed: 2018-05-23 02:25:43.0
Homepage: https://elements.polymer-project.org/elements/gold-email-input?view=demo:demo/index.html
Size: 64
Language: HTML
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
?? This element is deprecated ??
This element will not be upgraded to Polymer 2.0. We recommend you use paper-input
with type="email"
.
e.g. <paper-input type="email" value="test@test.com"></paper-input>
<gold-email-input>
is a single-line text field with Material Design styling
for entering an email address.
d-email-input></gold-email-input>
It may include an optional label, which by default is “Email”.
d-email-input label="your email address"></gold-email-input>
The input can be automatically validated as the user is typing by using
the auto-validate
and required
attributes. For manual validation, the
element also has a validate()
method, which returns the validity of the
input as well sets any appropriate error messages and styles.
See Polymer.PaperInputBehavior
for more API docs.
See Polymer.PaperInputContainer
for a list of custom properties used to
style this element.