ModalCommands
The handle returned by ModalCommandBuilder.build.
Import:
import type { ModalCommands } from '@mnaoumov/obsidian-lib/modals/modal-command-builder';Signature:
export interface ModalCommandsProperties
| Property | Type | Description |
|---|---|---|
| refresh | () => void | Brings every rendered control's disabled and pressed state up to date, by re-reading CommandBase.checkIsAvailable and KeyboardCommand.checkIsOn. The strip is built once and only re-stated afterwards, because rebuilding it would replace an element the pointer may be about to click. |
Links to this page: