Frontend Modules


Frontend Modules / js/utils/wrapped-events / off

Function: off()

off(el, events): void

Defined in: js/utils/wrapped-events.ts:36

Detaches all event listeners of a certain type

Parameters

el

Element

the element that should not react on the events anymore

events

the event or events to detach

keyof HTMLElementEventMap | "action-confirmed" | keyof HTMLElementEventMap | “action-confirmed”[]

Returns

void