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:
| Parameter | Type | Description |
|---|---|---|
| $event | KeyboardEvent | MouseEvent |
Returns: Promise<void> — A promise that resolves when the view is switched.