obsidian/components/plugin-notice-component
Component that manages displaying notices to the user.
Classes
Section titled “Classes”| Class | Description |
|---|---|
| PluginNoticeComponent | Manages showing plugin notices. Automatically hides the previous notice when a new one is shown. |
Interfaces
Section titled “Interfaces”| Interface | Description |
|---|---|
| PluginNoticeCloseClickEvent | The event passed to PluginNoticeComponentShowNoticeOptions.onCloseClick when the notice’s close (X) button is clicked. |
| PluginNoticeComponentDelayedNotice | A handle to a delayed notice created by PluginNoticeComponent.showNoticeAfterDelay. It is a Disposable (so it can be used with using) that also lets the content be updated while the notice is shown. |
| PluginNoticeComponentShowNoticeAfterDelayParams | Parameters for PluginNoticeComponent.showNoticeAfterDelay. |
| PluginNoticeComponentShowNoticeOptions | Options for PluginNoticeComponent.showNotice. |
| PluginNoticeHideInfo | Describes why a notice was hidden, passed to PluginNoticeComponentShowNoticeOptions.onHide. |