Aller au contenu

document

Ce contenu n’est pas encore disponible dans votre langue.

Type Aliases

DocumentParams

type DocumentParams: { [key in keyof DocumentEventMap]?: Function } & AddEventListenerOptions;

Defined in

tmp/commons/src/lib/actions/document.ts:3

Functions

documentListener()

function documentListener<Node>(...args): void | ActionReturn<DocumentParams, Record<never, any>>

Action to listen to events on the document.

Type Parameters

Node extends Element

Parameters

• …args: [Node, DocumentParams]

Returns

void | ActionReturn<DocumentParams, Record<never, any>>

svelte action

Defined in

tmp/commons/src/lib/actions/document.ts:13