Skip to content

ModalCommandsHost

A bare host for a control strip: the element to render into, plus the scope to register shortcuts with.

Import:

import type { ModalCommandsHost } from 'obsidian-dev-utils/obsidian/modals/modal-command-builder';

Signature:

export interface ModalCommandsHost

Properties

PropertyTypeDescription
containerElHTMLElementThe element the control strip is appended to.
scopeScopeThe scope the shortcuts are registered with.

Links to this page: