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
Parameter | Type | Description |
---|---|---|
event | string | Name of the event to unbind. |
handler | ModelEventCallback<T> | Function to unbind. |
Returns:
void