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