IslandState
import type { IslandState } from 'pixi-silk/ui/island';
Live state of an Island.
Properties#
| Property | Type | Description | Defined in |
|---|---|---|---|
dragging | Signal<boolean> | True while a pointer drags it. Read only. | packages/pixi-silk/src/ui/island/Island.ts:146 |
hovered | Signal<boolean> | True while a pointer is over it. Read only. | packages/pixi-silk/src/ui/island/Island.ts:148 |
name | Signal<string> | State it is in or heading to. Set it to move there. | packages/pixi-silk/src/ui/island/Island.ts:142 |
openness | Signal<number> | 0 at rest, 1 open, between while it moves or is dragged. Read only. | packages/pixi-silk/src/ui/island/Island.ts:144 |