Skip to content
pixi-silk
GitHub repository
Interface

TextFieldSpec

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

A one-line text field.

Properties#

PropertyTypeDescriptionDefined in
keystringDot path of a string value.ui/panels/Inspector.ts:55
label?stringRow label. Also names the undo step. Default none: the row has no label and the step uses the key.ui/panels/Inspector.ts:57
placeholder?stringText shown while the field is empty.ui/panels/Inspector.ts:59
type"text"Field kind.ui/panels/Inspector.ts:53