TextInputMixin
Provides functionality for elements that accept text as input. Learn more.
Guides
Additional information about this section
Properties
Store values associated with an object
- maxLength
Sets or gets the maximum number of characters that can be entered.
- placeholder
Sets or gets the element's placeholder text.
Functions
Perform actions on an object
- onInput( )
Adds an event handler that runs when the input element receives input.
- onKeyPress( )
Adds an event handler that runs when the cursor is inside the input element and a key is pressed.