obsidian/Menu
Mock of Obsidian’s Menu, the context menu built from items and separators.
Classes
Section titled “Classes”| Class | Description |
|---|---|
| Menu | Mock of Obsidian’s Menu. Nothing is shown: added items and separators are collected in Menu.items so a test can inspect them and invoke their click handlers, and the show and configuration methods only return the menu for chaining. |
Interfaces
Section titled “Interfaces”| Interface | Description |
|---|---|
| SectionSubmenu__ | A section’s submenu, as recorded by Menu.setSectionSubmenu. |