TextFieldOptions
import type { TextFieldOptions } from 'pixi-silk/ui/inspector';
Options of TextField.
Properties#
| Property | Type | Description | Defined in |
|---|---|---|---|
placeholder? | string | Text shown while the field is empty. | ui/panels/fields.ts:413 |
Methods#
onCommit()#
onCommit(text: string): void;
Called with the new text once per commit (Enter or blur).
Parameters#
| Parameter | Type |
|---|---|
text | string |
Returns#
void