WEBELO
HTML Visualizer & DOM Library
Loading...
Searching...
No Matches
Attr Class Reference
Inheritance diagram for Attr:
Node EventTarget

Public Member Functions

DOMString qualifiedName ()
 Attr (DOMString localName)
void setvalue (DOMString value)
Public Member Functions inherited from Node
bool isConnected ()
virtual NodefirstChild ()
virtual NodelastChild ()
virtual NodepreviousSibling ()
virtual NodenextSibling ()
bool hasChildNodes () const
NodegetRootNode (bool composed=false)
void normalize ()
NodecloneNode (bool subtree)
 Node (node_type nodeType, DOMString nodeName, Document *ownerDocument=nullptr, Node *parentNode=nullptr)
unsigned long length ()
bool isEqualNode (Node *otherNode)
bool isSameNode (Node *otherNode)
unsigned short compareDocumentPosition (Node *other)
bool contains (Node *other)
virtual std::optional< DOMString > lookupPrefix (std::optional< DOMString > &namesp)
std::optional< DOMString > lookupNamespaceURI (std::optional< DOMString > &prefix)
bool isDefaultNamespace (std::optional< DOMString > &namesp)
NodeinsertBefore (Node *node, Node *child)
NodeappendChild (Node *node)
NodereplaceChild (Node *node, Node *child)
NoderemoveChild (Node *child)
virtual Nodeget_the_parent (Event *event)
virtual std::optional< DOMString > getnodeValue ()
virtual void setnodeValue (DOMString &val)
virtual std::optional< DOMString > gettextContent ()
virtual void settextContent (DOMString &val)
bool operator== (Node &other)
bool operator^ (Node *other)
unsigned long index ()
Public Member Functions inherited from EventTarget
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 EventTargetget_the_parent (const Event *event)

Public Attributes

std::optional< DOMString > namespaceURI = std::nullopt
std::optional< DOMString > prefix = std::nullopt
DOMString localName
DOMString name
ElementownerElement = nullptr
bool specified = true
DOMString value = ""
Public Attributes inherited from Node
node_type nodeType
DOMString nodeName
USVString baseURI
DocumentownerDocument
NodeparentNode
ElementparentElement = nullptr
NodeList childNodes
DOMString nodeValue
DOMString textContent
Public Attributes inherited from EventTarget
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 = {}

Detailed Description

Definition at line 965 of file Webelo.cpp.

Constructor & Destructor Documentation

◆ Attr()

Attr::Attr ( DOMString localName)

Definition at line 4728 of file Webelo.cpp.

Member Function Documentation

◆ qualifiedName()

DOMString Attr::qualifiedName ( )

Definition at line 4732 of file Webelo.cpp.

◆ setvalue()

void Attr::setvalue ( DOMString value)
inline

Definition at line 980 of file Webelo.cpp.

Member Data Documentation

◆ localName

DOMString Attr::localName

Definition at line 969 of file Webelo.cpp.

◆ name

DOMString Attr::name

Definition at line 970 of file Webelo.cpp.

◆ namespaceURI

std::optional<DOMString> Attr::namespaceURI = std::nullopt

Definition at line 967 of file Webelo.cpp.

◆ ownerElement

Element* Attr::ownerElement = nullptr

Definition at line 971 of file Webelo.cpp.

◆ prefix

std::optional<DOMString> Attr::prefix = std::nullopt

Definition at line 968 of file Webelo.cpp.

◆ specified

bool Attr::specified = true

Definition at line 972 of file Webelo.cpp.

◆ value

DOMString Attr::value = ""

Definition at line 974 of file Webelo.cpp.


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