Skip to content

PluginNoticeComponent.showNotice method

PluginNoticeComponent › showNotice

Displays a notice message to the user.

Signature:

showNotice(message: string | DocumentFragment, options?: PluginNoticeComponentShowNoticeOptions): Notice

Parameters:

ParameterTypeDescription
messagestring | DocumentFragmentThe message to display. The notice shows the plugin name above it, so a leading <plugin name>: in the message is dropped rather than shown twice.
options?PluginNoticeComponentShowNoticeOptionsThe options for displaying the notice.

Returns: Notice — The notice object.