Skip to content
pixi-silk
GitHub repository
Interface

SectionSpec

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

A titled group of fields that folds.

Properties#

PropertyTypeDescriptionDefined in
collapsed?booleanStart folded. Default false.ui/panels/Inspector.ts:129
fieldsreadonly InspectorField[]The rows inside the section. Sections can nest.ui/panels/Inspector.ts:131
labelstringSection title.ui/panels/Inspector.ts:127
type"section"Field kind.ui/panels/Inspector.ts:125