TextComponent.autoSelect method
TextComponent › autoSelect
Unofficial
Selects the input's text when it receives focus.Signature:
autoSelect(force?: boolean | undefined): thisParameters:
| Parameter | Type | Description |
|---|---|---|
| force? | boolean | undefined | Whether to enable select-on-focus even without a physical keyboard. |
Returns: this — The text component.