PluginNoticeCloseClickEvent
The event passed to PluginNoticeComponentShowNoticeOptions.onCloseClick when the notice’s close (X) button is clicked.
Import:
import type { PluginNoticeCloseClickEvent } from 'obsidian-dev-utils/obsidian/components/plugin-notice-component';Signature:
export interface PluginNoticeCloseClickEventMethods
| Method | Returns | Description |
|---|---|---|
| cancel() | void | Cancels the close, leaving the notice open. |