HaloState
import type { HaloState } from 'pixi-silk/ui/halo';
The reactive state of a ContextHalo.
Properties#
| Property | Type | Description | Defined in |
|---|---|---|---|
dragging | Signal<boolean> | Set it while the target is being dragged: the halo follows faster, or folds away with hideWhileDragging. | ui/halo.ts:105 |
hover | Signal<HaloItem | null> | Item under the pointer, or null. Disabled items can be hovered, and show their label. | ui/halo.ts:103 |
phase | Signal<HaloPhase> | hidden, in (popping in), shown or out (popping out). Input is only accepted while shown. | ui/halo.ts:107 |
target | Signal<Container<ContainerChild> | null> | Object the halo orbits, or null. Set through attach() and detach(). | ui/halo.ts:101 |