Modules

klevulistendomevent

3min

KlevuListenDomEvent(klevuDomEvent, callback): () => void

Helper function to listen Klevu Dom events



Text


Parameters

Name

Type

Description

klevuDomEvent

What event to listen

callback

(event: Event) => void

What to do when event is fired

Returns

fn

Function to stop listening

▸ (): void

Returns

void

Defined in

Updated 25 Mar 2024
Did this page help you?