sc-input
Usage
Input
Properties
Events
Methods
getInputElement() => Promise<HTMLInputElement>
getInputElement() => Promise<HTMLInputElement>
Returns the native <input>
element used under the hood.
Returns
Type: Promise<HTMLInputElement>
setFocus() => Promise<void>
setFocus() => Promise<void>
Sets focus on the specified ion-input
. Use this method instead of the global input.focus()
.
Returns
Type: Promise<void>
Inspired by Ionic, built with StencilJS ❤ from Sean Wu
Last updated