pixi-silk/ui/dock
ButtonDock: a row or column of SilkButtons that closes the gap when one hides.
import { ButtonDock } from 'pixi-silk/ui/dock';
Classes#
| Class | Description |
|---|---|
| ButtonDock | A row or column of SilkButtons that closes the gap when one hides and opens it when it comes back, gliding the others into place. Slot sizes follow each button’s animated appearance, so the reflow and the fade are one motion. The dock sets each button’s x (row) or y (column), so do not position them yourself. |
Interfaces#
| Interface | Description |
|---|---|
| ButtonDockOptions | Options of ButtonDock. |