Skip to content

obsidian/components/plugin-notice-component

Component that manages displaying notices to the user.

ClassDescription
PluginNoticeComponentManages showing plugin notices. Automatically hides the previous notice when a new one is shown.
InterfaceDescription
PluginNoticeCloseClickEventThe event passed to PluginNoticeComponentShowNoticeOptions.onCloseClick when the notice’s close (X) button is clicked.
PluginNoticeComponentDelayedNoticeA 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.
PluginNoticeComponentShowNoticeAfterDelayParamsParameters for PluginNoticeComponent.showNoticeAfterDelay.
PluginNoticeComponentShowNoticeOptionsOptions for PluginNoticeComponent.showNotice.
PluginNoticeHideInfoDescribes why a notice was hidden, passed to PluginNoticeComponentShowNoticeOptions.onHide.