|
WEBELO
HTML Visualizer & DOM Library
|
Public Member Functions | |
| void | addEventListener (DOMString &type, EventListener *callback, std::variant< AddEventListenerOptions, bool > &options) |
| void | removeEventListener (DOMString &type, EventListener *callback, bool capture) |
| void | removeAllEventListeners () |
| bool | dispatchEvent (Event *event) |
| bool | operator== (const EventTarget &a) |
| bool | operator!= (const EventTarget &a) |
| virtual EventTarget * | get_the_parent (const Event *event) |
Public Attributes | |
| bool | has_activation_behavior = false |
| bool | has_legacy_canceled_activation_behavior = false |
| bool | has_legacy_pre_activation_behavior = false |
| std::function< void(Event *event)> | activation_behavior_algorithm = [](Event* event) {} |
| std::function< void()> | legacy_canceled_activation_behavior_algorithm = []() {} |
| std::function< void()> | legacy_pre_activation_behavior_algorithm = []() {} |
| std::vector< event_listener * > | event_listener_list = {} |
Definition at line 304 of file Webelo.cpp.
|
inline |
Definition at line 317 of file Webelo.cpp.
| void EventTarget::addEventListener | ( | DOMString & | type, |
| EventListener * | callback, | ||
| std::variant< AddEventListenerOptions, bool > & | options ) |
Definition at line 3761 of file Webelo.cpp.
| bool EventTarget::dispatchEvent | ( | Event * | event | ) |
Definition at line 3785 of file Webelo.cpp.
|
inlinevirtual |
Definition at line 341 of file Webelo.cpp.
|
inline |
Definition at line 337 of file Webelo.cpp.
|
inline |
Definition at line 324 of file Webelo.cpp.
| void EventTarget::removeAllEventListeners | ( | ) |
Definition at line 3777 of file Webelo.cpp.
| void EventTarget::removeEventListener | ( | DOMString & | type, |
| EventListener * | callback, | ||
| bool | capture ) |
Definition at line 3766 of file Webelo.cpp.
Definition at line 311 of file Webelo.cpp.
| std::vector<event_listener*> EventTarget::event_listener_list = {} |
Definition at line 315 of file Webelo.cpp.
| bool EventTarget::has_activation_behavior = false |
Definition at line 306 of file Webelo.cpp.
| bool EventTarget::has_legacy_canceled_activation_behavior = false |
Definition at line 307 of file Webelo.cpp.
| bool EventTarget::has_legacy_pre_activation_behavior = false |
Definition at line 308 of file Webelo.cpp.
| std::function<void()> EventTarget::legacy_canceled_activation_behavior_algorithm = []() {} |
Definition at line 312 of file Webelo.cpp.
| std::function<void()> EventTarget::legacy_pre_activation_behavior_algorithm = []() {} |
Definition at line 313 of file Webelo.cpp.