ContextHalo: a ring of actions around a selected object.
import { ContextHalo } from 'pixi-silk/ui/halo';
Classes#
| Class | Description |
|---|
| ContextHalo | Action buttons orbiting the selected object. It follows the target every frame from its bounds, so it tracks drags, tweens and camera moves. The buttons sit on an arc hugging the target’s box, on the preferred side. When that side would leave bounds the arc turns to the side with the most room. Buttons pop in with a stagger and pop out on detach(). |
Interfaces#
Type Aliases#
Variables#
| Variable | Description |
|---|
| HALO_THEME | Default theme: light buttons with a blue hover. |