PluginNoticeCloseClickEvent
The event passed to PluginNoticeComponentShowNoticeOptions.onCloseClick when the notice’s close (X) button is clicked.
Import:
import type { PluginNoticeCloseClickEvent } from '@mnaoumov/obsidian-lib/components/plugin-notice-component';Signature:
export interface PluginNoticeCloseClickEventProperties
| Property | Type | Description |
|---|---|---|
| cancel | () => void | Cancels the close, leaving the notice open. |
Links to this page: