HookEvent
Unofficial
Event data passed to DOMPurify hooks during sanitization.
Import:
import type { HookEvent } from '@obsidian-typings/obsidian-public-latest';Signature:
export interface HookEventProperties
| Property | Type | Description | |
|---|---|---|---|
| allowedTags | Record<string, boolean> | Record of currently allowed tags. | |
| tagName | string | The tag name of the current element being processed. |