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 evt, EventHandler<DomEventArgs> handler)

Parameters

evt Event

The custom DOM event.

handler EventHandler<DomEventArgs>

the event handler to register for this DOM event.

Returns

Event

The updated Event instance.

Exceptions

ObjectDisposedException

The IEventTarget has already been disposed.