Skip to main content

Home > @jsplumbtoolkit/browser-ui > Surface > unbindModelEvent

Surface.unbindModelEvent() method#

Unbinds a listener for a model event.

Signature:

unbindModelEvent<T = any>(event: string, handler: ModelEventCallback<T>): void;

Parameters#

ParameterTypeDescription
eventstringName of the event to unbind.
handlerModelEventCallback<T>Function to unbind.

Returns:

void