caretPosition([position])
Class: PasswordField. Method inherited from UIComponent.
Description:
Set or gets a position of caret in text editing components. Used in some text editing components only.
Parameters:
| Name | Type | Description |
|---|---|---|
|
|
number |
Returns:
Returns this component if argument is provided, otherwise number value.
Type: this | number
