Modules
klevulistendomevent
3min
▸ KlevuListenDomEvent(klevuDomEvent, callback): () => void
Helper function to listen Klevu Dom events
Name | Type | Description |
---|---|---|
klevuDomEvent | What event to listen | |
callback | (event: Event) => void | What to do when event is fired |
fn
Function to stop listening
▸ (): void
void
Updated 25 Mar 2024
Did this page help you?