HaloItem
import type { HaloItem } from 'pixi-silk/ui/halo';
One action of a ContextHalo.
Properties#
| Property | Type | Description | Defined in |
|---|---|---|---|
disabled? | boolean | Shown greyed out and not selectable. | ui/halo.ts:21 |
icon? | IconSource | Icon drawn at ContextHaloOptions.iconSize: a string, texture, container or draw function. A container is used as is. | ui/halo.ts:17 |
id | string | Stable id, handed back on selection. | ui/halo.ts:15 |
label? | string | Shown in a pill while the item is hovered. | ui/halo.ts:19 |