Skip to content
pixi-silk
GitHub repository
Interface

HaloItem

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

One action of a ContextHalo.

Properties#

PropertyTypeDescriptionDefined in
disabled?booleanShown greyed out and not selectable.ui/halo.ts:21
icon?IconSourceIcon drawn at ContextHaloOptions.iconSize: a string, texture, container or draw function. A container is used as is.ui/halo.ts:17
idstringStable id, handed back on selection.ui/halo.ts:15
label?stringShown in a pill while the item is hovered.ui/halo.ts:19