Skip to content

obsidian/Notice

Mock of Obsidian’s Notice, the transient notification toast.

Class Description
Notice Mock of Obsidian’s Notice notification component. Nothing is shown on screen: the message is rendered into detached elements, so a test can read it back from Notice.messageEl, and the requested duration is kept in Notice.duration__.