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

Public Member Functions

Elementhost ()
Public Member Functions inherited from DocumentFragment
 DocumentFragment (Document *ownerdoc=nullptr, Node *parentnode=nullptr)
Public Member Functions inherited from ParentNode
ElementfirstElementChild () const
ElementlastElementChild () const
unsigned long childElementCount () const
void evaluate_children ()
void prepend (std::vector< std::variant< Node *, DOMString > > &nodes)
void append (std::vector< std::variant< Node *, DOMString > > &nodes)
void replaceChildren (std::vector< std::variant< Node *, DOMString > > &nodes)
void moveBefore (Node *node, Node *child)
ElementquerySelector (DOMString selectors)
NodeList querySelectorAll (DOMString selectors)
virtual void making_it_abstract ()
 ParentNode (node_type nodeType, DOMString nodeName, Document *ownerDocument, Node *parentNode)
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

CustomElementRegistrycustom_element_registry = nullptr
ShadowRootMode mode
bool delegatesFocus = false
bool availableToElementInternals = false
bool declarative = false
SlotAssignmentMode slotAssignment
bool clonable = false
bool serializable = false
EventHandler onslotchange
bool keepCustomElementRegistryNull = false
Public Attributes inherited from DocumentFragment
ElementassociatedHost = nullptr
Public Attributes inherited from ParentNode
HTMLCollection children
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 1187 of file Webelo.cpp.

Member Function Documentation

◆ host()

Element * ShadowRoot::host ( )
inline

Definition at line 1197 of file Webelo.cpp.

Member Data Documentation

◆ availableToElementInternals

bool ShadowRoot::availableToElementInternals = false

Definition at line 1192 of file Webelo.cpp.

◆ clonable

bool ShadowRoot::clonable = false

Definition at line 1195 of file Webelo.cpp.

◆ custom_element_registry

CustomElementRegistry* ShadowRoot::custom_element_registry = nullptr

Definition at line 1189 of file Webelo.cpp.

◆ declarative

bool ShadowRoot::declarative = false

Definition at line 1193 of file Webelo.cpp.

◆ delegatesFocus

bool ShadowRoot::delegatesFocus = false

Definition at line 1191 of file Webelo.cpp.

◆ keepCustomElementRegistryNull

bool ShadowRoot::keepCustomElementRegistryNull = false

Definition at line 1200 of file Webelo.cpp.

◆ mode

ShadowRootMode ShadowRoot::mode

Definition at line 1190 of file Webelo.cpp.

◆ onslotchange

EventHandler ShadowRoot::onslotchange

Definition at line 1198 of file Webelo.cpp.

◆ serializable

bool ShadowRoot::serializable = false

Definition at line 1196 of file Webelo.cpp.

◆ slotAssignment

SlotAssignmentMode ShadowRoot::slotAssignment

Definition at line 1194 of file Webelo.cpp.


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