SilkButton: pill, circle or squircle button with press, hold, busy and appear animations.
import { SilkButton } from 'pixi-silk/ui/button';
Classes#
| Class | Description |
|---|
| SilkButton | A button that animates in and out, refuses input while it moves and keeps its state in signals. |
Interfaces#
Type Aliases#
| Type Alias | Description |
|---|
| ButtonPhase | Where a button is in its show / hide cycle. |
Variables#
| Variable | Description |
|---|
| BUTTON_THEME | Default theme: a blue filled button with white content. Merge a Partial<ButtonTheme> over it with the theme option. |