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

Property Type Description
command string The command or the key combination.
purpose string The purpose of the command.

Links to this page: