Table of Contents

Delegate EventListener

Namespace
SharpVectors.Dom.Events
Assembly
SharpVectors.Core.dll

The EventListener delegate is the primary way for handling events.

public delegate void EventListener(IEvent e)

Parameters

e IEvent
The delegate is the primary way for handling events.

Remarks

Users register their event listener on an IEventTarget. The users should also remove their EventListener from its IEventTarget after they have completed using the listener.

Copying a INode does not copy the event listeners attached to it. Event listeners must be attached to the newly created INode afterwards if so desired.