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
EventThe custom DOM event.
handler
EventHandler<DomEventArgs>the event handler to register for this DOM event.
Returns
Exceptions
- ObjectDisposedException
The IEventTarget has already been disposed.