SectionSpec
import type { SectionSpec } from 'pixi-silk/ui/inspector';
A titled group of fields that folds.
Properties#
| Property | Type | Description | Defined in |
|---|---|---|---|
collapsed? | boolean | Start folded. Default false. | ui/panels/Inspector.ts:129 |
fields | readonly InspectorField[] | The rows inside the section. Sections can nest. | ui/panels/Inspector.ts:131 |
label | string | Section title. | ui/panels/Inspector.ts:127 |
type | "section" | Field kind. | ui/panels/Inspector.ts:125 |