Skip to content

Instruction

Official

An instruction for the modal.

Import:

import type { Instruction } from 'obsidian';

Example:

const instruction: Instruction = { command: '↑↓', purpose: 'Navigate' };

Signature:

export interface Instruction

Properties

PropertyTypeDescription
commandstringThe command or the key combination.
purposestringThe purpose of the command.

Links to this page: