RadialItem
import type { RadialItem } from 'pixi-silk/ui/radial';
One entry of a RadialMenu. Entries with children open another ring around themselves.
Properties#
| Property | Type | Description | Defined in |
|---|---|---|---|
children? | RadialItem[] | Sub-items, laid out on the next ring, centred on this item. | ui/RadialMenu.ts:33 |
disabled? | boolean | Shown dimmed. It cannot be hovered, picked or opened. | ui/RadialMenu.ts:31 |
icon? | IconSource | Icon drawn in the segment, white and tinted by the theme. See IconSource. | ui/RadialMenu.ts:29 |
id | string | Stable id, handed back on selection. | ui/RadialMenu.ts:25 |
label? | string | Text: drawn inside the segment when there is no icon, otherwise shown as a pill on hover. | ui/RadialMenu.ts:27 |