Skip to content

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 PluginNoticeCloseClickEvent

Properties

PropertyTypeDescription
cancel() => voidCancels the close, leaving the notice open.

Links to this page: