Skip to content

Home > d3-blueprint > Layer > off

Layer.off() method

Removes a specific handler, or all handlers for the given lifecycle event.

Signature:

typescript
off(eventKey: LifecycleEventKey, handler?: LifecycleHandler<TData> | TransitionHandler<TData>): this;

Parameters

Parameter

Type

Description

eventKey

LifecycleEventKey

handler

LifecycleHandler<TData> | TransitionHandler<TData>

(Optional)

Returns:

this