SelectOptionParams<T>
Parameters for selectOption.
Import:
import type { SelectOptionParams } from 'obsidian-dev-utils/obsidian/modals/select-option';Signature:
export interface SelectOptionParams<T> extends ModalParamsBaseExtends: ModalParamsBase
Properties
| Property | Type | Description |
|---|---|---|
| app | App | An Obsidian app instance. (Inherited from ModalParamsBase) |
| cssClasses? | string[] | A CSS class to apply to the modal. (Inherited from ModalParamsBase) |
| message? | DocumentFragment | string | A message displayed above the option buttons. |
| options | SelectOptionItem<T>[] | The selectable options, each rendered as a button. |
| title? | DocumentFragment | string | A title of the modal. |
Links to this page: