Skip to main content

bn.off

off(eventName, handler): void

description Un-listen on custom event.

example

const handler = () => {}
bn.off('private-BIDS-example-event-progress', handler)

Parameters

NameType
eventNamestring
handlerCustomEventHandler

Returns

void

CustomEventHandler

Ƭ CustomEventHandler: (payload: Data) => void

Type declaration

▸ (payload): void

Parameters

NameType
payloadData

Returns

void

Data

Ƭ Data: Object