Skip to content

PluginNoticeComponentShowNoticeOptions.onHide?

PluginNoticeComponentShowNoticeOptions › onHide?

Type: (info: PluginNoticeHideInfo) => Promisable<void>

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).