Skip to content

PluginNoticeComponentShowNoticeOptions.onHide method

PluginNoticeComponentShowNoticeOptions › onHide

A callback invoked when the notice is hidden — whether by the user closing it, by a later reusable notice replacing it, by its duration elapsing, or on component unload. It runs at most once per notice. The PluginNoticeHideInfo argument distinguishes a user close (the close button) from a programmatic hide. An async callback is run fire-and-forget (its rejection surfaces through the async-error pipeline).

Signature:

onHide(this: void, info: PluginNoticeHideInfo): Promisable<void>

Parameters:

ParameterTypeDescription
thisvoid
infoPluginNoticeHideInfo

Returns: Promisable<void>