Skip to content
pixi-silk
GitHub repository
Interface

ColorFieldSpec

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

A colour swatch that opens a colour picker. Values are 0xRRGGBB numbers.

Properties#

PropertyTypeDescriptionDefined in
keystringDot path of a 0xRRGGBB number.ui/panels/Inspector.ts:91
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:93
type"color"Field kind.ui/panels/Inspector.ts:89