DOM.DOMElement (dom v0.1.0)
Defines interface Element https://dom.spec.whatwg.org/#interface-element
Link to this section Summary
Link to this section Types
Link to this section Functions
Link to this function
attach_shadow(element, mode, delegate_focus \\ false, slot_assignment \\ :named)
Link to this function
get_attribute(element, qualified_name)
Link to this function
get_attribute_names(element)
Link to this function
get_attribute_node(element, qualified_name)
@spec get_attribute_node(t(), binary()) :: DOM.DOMAttr.t()
Link to this function
get_attribute_nodes(element)
@spec get_attribute_nodes(t()) :: [DOM.DOMAttr.t()]
This function is not part of the official DOM Element interface
Link to this function
get_element_by_id(element, element_id)
https://dom.spec.whatwg.org/#dom-nonelementparentnode-getelementbyid
Link to this function
get_elements_by_id(dom_element, element_id)
Link to this function
get_elements_by_tag_name(element, qualified_name)
https://dom.spec.whatwg.org/#dom-element-getelementsbytagname
Link to this function
has_attribute(element, qualified_name)
Link to this function
has_attributes(element)
Link to this function
set_attribute(element, qualified_name, value)
Link to this function
set_attribute_node(element, attribute)
@spec set_attribute_node(t(), DOM.DOMAttr.t()) :: t()