Skip to content
pixi-silk
GitHub repository
Interface

HaloState

import type { HaloState } from 'pixi-silk/ui/halo';

The reactive state of a ContextHalo.

Properties#

PropertyTypeDescriptionDefined in
draggingSignal<boolean>Set it while the target is being dragged: the halo follows faster, or folds away with hideWhileDragging.ui/halo.ts:105
hoverSignal<HaloItem | null>Item under the pointer, or null. Disabled items can be hovered, and show their label.ui/halo.ts:103
phaseSignal<HaloPhase>hidden, in (popping in), shown or out (popping out). Input is only accepted while shown.ui/halo.ts:107
targetSignal<Container<ContainerChild> | null>Object the halo orbits, or null. Set through attach() and detach().ui/halo.ts:101