Skip to content
pixi-silk
GitHub repository
Interface

PanelState

import type { PanelState } from 'pixi-silk/ui/panel';

The reactive state of a Panel.

Properties#

PropertyTypeDescriptionDefined in
collapsedSignal<boolean>Folded to its title bar. Write it to fold or unfold.ui/panels/Panel.ts:111
dockSignal<PanelDock | null>The edge or corner it is docked to, or null when floating. Write it to dock.ui/panels/Panel.ts:113
draggingReadSignal<boolean>True while the title bar is dragged.ui/panels/Panel.ts:115
rectReadSignal<PanelRect>Where the panel is heading, in its parent’s space, while unfolded.ui/panels/Panel.ts:119
resizingReadSignal<boolean>True while an edge is dragged.ui/panels/Panel.ts:117