A set of events for a given object (document or element). Used by addEventListener.
Public Member Functions | |
List< EventListener > | Get (string name) |
Gets the set of handlers for the given event name. More... | |
bool | Run (Event e, bool capture) |
Runs the event with the given name by passing it the given event object. More... | |
void | Add (string name, EventListener handler) |
Internally adds an event handler for the given named event. More... | |
EventListener | GetFirstListener (string name) |
Gets the first delegate event handler for the given event name. More... | |
void | Remove (string name, object mtd) |
Removes the given method from this set. More... | |
Public Attributes | |
Dictionary< string, List < EventListener > > | Handlers |
The handlers in this set. May be null. More... | |
|
inline |
Internally adds an event handler for the given named event.
|
inline |
Gets the set of handlers for the given event name.
|
inline |
Gets the first delegate event handler for the given event name.
|
inline |
Removes the given method from this set.
|
inline |
Runs the event with the given name by passing it the given event object.
Dictionary<string,List<EventListener> > Dom.EventsSet.Handlers |
The handlers in this set. May be null.