Skip to content

HookEvent

Unofficial

Event data passed to DOMPurify hooks during sanitization.

Import:

import type { HookEvent } from '@obsidian-typings/obsidian-public-latest';

Signature:

export interface HookEvent

Properties

PropertyTypeDescription
allowedTagsRecord<string, boolean>Record of currently allowed tags.
tagNamestringThe tag name of the current element being processed.