Please note, this is a STATIC archive of website www.javatpoint.com from 19 Jul 2022, cach3.com does not collect or store any user information, there is no "phishing" involved.
Javatpoint Logo
Javatpoint Logo

Polymer Gold Email Input

The polymer gold email input element is a simple text field used to specify email addresses. It is styled in Material design.

Syntax:

The gold-email input element has an optional label, which is "email" by default:

Validation

The validate() method is used to validate email addresses manually. It returns true if it is valid otherwise false, if it is not valid. You can use auto-validate and required attributes to make the input to be automatically validated.

Example

Run the following command to install gold-email-input element in your project directory. After that you can use this element in your application:

polymer gold email input

It will install all the related elements of polymer_ gold-email-input under the bower_components folder.

Create an index.html file and add the following code in it to see the usage of gold-email-input element in Polymer.js.

Output:

gold email input
Next TopicPhone Input





Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA