3.0.2 • Published 5 years ago

gold-iban-input v3.0.2

Weekly downloads
2
License
BSD-3-Clause
Repository
github
Last release
5 years ago

\<gold-iban-input>

Build status

Published on webcomponents.org

Material Design IBAN Input Element: Single-line text field with Material Design styling for entering a IBAN. As the user types, the number will be formatted by adding a space every 4 digits and remaining digits.

<gold-iban-input label="IBAN"></gold-iban-input>

Validation

The input is validated via country based length and checksum.

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.

Styling

See Polymer.PaperInputContainer for a list of custom properties used to style this element.