Skip to content
pixi-silk
GitHub repository
Interface

ChoiceFieldOptions

import type { ChoiceFieldOptions } from 'pixi-silk/ui/inspector';

Options of ChoiceField.

Properties#

PropertyTypeDescriptionDefined in
optionsreadonly 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#

ParameterType
valuestring | number | boolean

Returns#

void