Skip to content
pixi-silk
GitHub repository
Interface

ButtonDockOptions

import type { ButtonDockOptions } from 'pixi-silk/ui/dock';

Options of ButtonDock.

Properties#

PropertyTypeDescriptionDefined 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?numberSpace between buttons, local units. Default 12.ui/ButtonDock.ts:11
stagger?numberDelay between buttons in showAll / hideAll, seconds. Default 0.04.ui/ButtonDock.ts:15
ticker?Ticker | nullTicker that runs the reflow. Default Ticker.shared. With null, call ButtonDock.tick yourself.ui/ButtonDock.ts:17