DialogChooseOption
Reference — DialogChooseOption in the Mutka module API.
Interface: DialogChooseOption
Defined in: types.ts:94
One selectable row in a choose dialog.
Properties
detail?
optional detail?: string;Defined in: types.ts:100
Optional secondary line shown smaller (e.g. a file path).
icon?
optional icon?: string;Defined in: types.ts:102
Optional leading icon as an src (data-URI or URL).
iconPath?
optional iconPath?: string;Defined in: types.ts:106
Optional filesystem path whose native macOS icon the host resolves and shows for this row. The row renders a placeholder until the icon is ready, so the dialog opens instantly and icons fill in live (used by "Open With…").
label
label: string;Defined in: types.ts:96
Primary text shown for the row.
value
value: string;Defined in: types.ts:98
The value choose resolves with when this row is picked.