Skip to content

MarkdownView.onSwitchView method

MarkdownView › onSwitchView

Unofficial

On mod click, opens editor of opposite mode in split view to right.

Signature:

onSwitchView($event: KeyboardEvent | MouseEvent): Promise<void>

Parameters:

ParameterTypeDescription
$eventKeyboardEvent | MouseEvent

Returns: Promise<void> — A promise that resolves when the view is switched.