2.0.0 • Published 6 years ago

@api-components/paper-masked-input v2.0.0

Weekly downloads
4
License
Apache-2.0
Repository
github
Last release
6 years ago

Build Status

paper-masked-input

Material design: Text fields

<paper-masked-input> is a single-line password field with Material Design styling and option to unmask the value.

It may include an optional error message.

The password input will rener two additional icon buttons: clear and visibility toggle. When the user toggle visibility it will change to regular text field and back.

Focus

To focus a paper-masked-input, you can call the native focus() method as long as the paper input has a tab index.

Styling

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