WEBELO
HTML Visualizer & DOM Library
Loading...
Searching...
No Matches
CustomEvent Class Reference
Inheritance diagram for CustomEvent:
Event

Public Member Functions

 CustomEvent (DOMString const type, std::any &detail, bool bubbles=false, bool cancelable=false, bool composed=false)
void initCustomEvent (DOMString const type, bool bubbles=false, bool cancelable=false, std::any detail=nullptr)
std::any getdetail () const
 CustomEvent (const CustomEvent *temp)
Public Member Functions inherited from Event
 Event (const DOMString &type, bool bubbles=false, bool cancelable=false, bool composed=false)
 Event (const Event *temp)
void inner_event_creation_steps (Event *event, Realm *realm, DOMHighResTimeStamp &time, bool bubbles=false, bool cancelable=false, bool composed=false)
void initEvent (DOMString type, bool bubbles=false, bool cancelable=false)
void stopPropagation ()
void stopImmediatePropagation ()
void preventDefault ()
std::vector< EventTarget * > composedPath ()
void set_canceled_flag ()
DOMString gettype () const
EventTargetgettarget () const
EventTargetgetsrcElement () const
EventTargetgetrelatedTarget () const
EventTargetgetcurrentTarget () const
enum event_phase geteventPhase () const
void seteventPhase (enum event_phase temp)
bool getbubbles () const
bool getcancelable () const
bool getdefaultPrevented () const
bool getcomposed () const
bool getisTrusted () const
DOMHighResTimeStamp gettimeStamp () const
bool getcancelBubble () const
void setcancelBubble (bool value)
bool getreturnValue () const
void setreturnValue (bool value)
virtual bool operator== (Event *ev)
virtual EventnewObject ()

Public Attributes

std::any detail = nullptr
Public Attributes inherited from Event
DOMString type = ""
EventTargettarget = nullptr
EventTargetrelatedTarget = nullptr
EventTargetcurrentTarget = nullptr
enum event_phase eventPhase = NONE
bool bubbles
bool cancelable
bool composed
DOMHighResTimeStamp timeStamp
bool isTrusted = false
bool stop_propagation_flag = false
bool stop_immediate_propagation_flag = false
bool canceled_flag = false
bool in_passive_listener_flag = false
bool composed_flag = false
bool initialized_flag = false
bool dispatch_flag = false
std::vector< path_structspath = {}
std::vector< EventTarget * > touch_target_list = {}

Detailed Description

Definition at line 549 of file Webelo.cpp.

Constructor & Destructor Documentation

◆ CustomEvent() [1/2]

CustomEvent::CustomEvent ( DOMString const type,
std::any & detail,
bool bubbles = false,
bool cancelable = false,
bool composed = false )

Definition at line 3740 of file Webelo.cpp.

◆ CustomEvent() [2/2]

CustomEvent::CustomEvent ( const CustomEvent * temp)
inline

Definition at line 559 of file Webelo.cpp.

Member Function Documentation

◆ getdetail()

std::any CustomEvent::getdetail ( ) const
inline

Definition at line 555 of file Webelo.cpp.

◆ initCustomEvent()

void CustomEvent::initCustomEvent ( DOMString const type,
bool bubbles = false,
bool cancelable = false,
std::any detail = nullptr )

Definition at line 3744 of file Webelo.cpp.

Member Data Documentation

◆ detail

std::any CustomEvent::detail = nullptr

Definition at line 551 of file Webelo.cpp.


The documentation for this class was generated from the following file: