Base Framework
Public Types | Public Member Functions | List of all members
DOMEvent Class Reference

DOM event. More...

#include <base/xml/DOMEvent.h>

Inherits Object.

Public Types

enum  PhaseType { CAPTURING_PHASE, AT_TARGET, BUBBLING_PHASE }
 

Public Member Functions

const StringgetType () const noexcept
 
EventTarget * getTarget () const noexcept
 
EventTarget * getCurrentTarget () const noexcept
 
PhaseType getPhase () const noexcept
 
bool getBubbles () const noexcept
 
bool isCancelable () const noexcept
 
Date getTimeStamp () const noexcept
 
void stopPropagation () noexcept
 
void preventDefault () noexcept
 
void initEvent (const String &eventTypeArg, bool canBubbleArg, bool cancelableArg) noexcept
 

Detailed Description

DOM event.

Version
1.0

Member Enumeration Documentation

◆ PhaseType

The phase of the event flow which is being processed.

Enumerator
CAPTURING_PHASE 

The current event phase is the capturing phase.

AT_TARGET 

The event is currently being evaluated at the target.

BUBBLING_PHASE 

The current event phase is the bubbling phase.