ChoiceFieldOptions
import type { ChoiceFieldOptions } from 'pixi-silk/ui/inspector';
Options of ChoiceField.
Properties#
| Property | Type | Description | Defined in |
|---|---|---|---|
options | readonly ChoiceOption[] | The choices, left to right, sharing the width equally. | ui/panels/fields.ts:610 |
Methods#
onChoose()#
onChoose(value: string | number | boolean): void;
Called with the chosen value.
Parameters#
| Parameter | Type |
|---|---|
value | string | number | boolean |
Returns#
void