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.
Import:
import type { PluginNoticeComponentDelayedNotice } from 'obsidian-dev-utils/obsidian/components/plugin-notice-component';Signature:
export interface PluginNoticeComponentDelayedNotice extends DisposableExtends: Disposable
Methods
| Method | Returns | Description |
|---|---|---|
| setContent(content) | void | Replaces the notice content, re-applying the plugin-name prefix, the interactive-click guard, and the Cancel button. Useful for reporting progress. If the delay has not elapsed yet, the new content becomes what is shown once it does. |
Links to this page: