ModalCommands
The handle returned by ModalCommandBuilder.build.
Import:
import type { ModalCommands } from 'obsidian-dev-utils/obsidian/modals/modal-command-builder';Signature:
export interface ModalCommandsMethods
| Method | Returns | 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: