Skip to content

obsidian/Modal

Mock of Obsidian’s Modal, a dialog shown over the workspace.

Class Description
Modal Mock of Obsidian’s Modal dialog. The modal’s elements are built detached from the document. Modal.open calls Modal.onOpen and then closes the modal from a zero-delay setTimeout, which gives a test one tick to interact with its content.