Table of Contents

Operator operator -

Namespace
DotNetBrowser.Dom.Events
Assembly
DotNetBrowser.dll

operator -(Event, EventHandler<DomEventArgs>)

The overloaded operator that can be used for simplifying registering event handlers for the DOM event.

public static Event operator -(Event node, EventHandler<DomEventArgs> handler)

Parameters

node Event

The custom DOM event.

handler EventHandler<DomEventArgs>

The event handler to unregister from this DOM event.

Returns

Event

The updated Event instance.

Exceptions

ObjectDisposedException

The IEventTarget has already been disposed.