bn.off
▸ off(eventName
, handler
): void
description
Un-listen on custom event.
example
const handler = () => {}
bn.off('private-BIDS-example-event-progress', handler)
Parameters
Name | Type |
---|---|
eventName | string |
handler | CustomEventHandler |
Returns
void
CustomEventHandler
Ƭ CustomEventHandler: (payload
: Data
) => void
Type declaration
▸ (payload
): void
Parameters
Name | Type |
---|---|
payload | Data |
Returns
void
Data
Ƭ Data: Object