ButtonDockOptions
import type { ButtonDockOptions } from 'pixi-silk/ui/dock';
Options of ButtonDock.
Properties#
| Property | Type | Description | Defined in |
|---|---|---|---|
align? | "center" | "end" | "start" | Where the row sits on the dock’s origin: start begins there, end ends there. Default center. | ui/ButtonDock.ts:13 |
direction? | "row" | "column" | Default row. | ui/ButtonDock.ts:9 |
gap? | number | Space between buttons, local units. Default 12. | ui/ButtonDock.ts:11 |
stagger? | number | Delay between buttons in showAll / hideAll, seconds. Default 0.04. | ui/ButtonDock.ts:15 |
ticker? | Ticker | null | Ticker that runs the reflow. Default Ticker.shared. With null, call ButtonDock.tick yourself. | ui/ButtonDock.ts:17 |