PluginNoticeComponentDelayedNotice.setContent method
PluginNoticeComponentDelayedNotice › setContent
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.Signature:
setContent(content: string | DocumentFragment): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| content | string | DocumentFragment | The new notice content. |
Returns: void