DOM.DOMAttr (dom v0.1.0)

Defines interface Attr https://dom.spec.whatwg.org/#interface-attr

Link to this section Summary

Functions

Creates an initialized instance of MODULE.t() It sets some attributes with default values

Link to this section Types

@type t() ::
  Map.merge(DOM.DOMNode.t(), %DOM.DOMAttr{
    base_uri: term(),
    child_nodes: term(),
    first_child: term(),
    is_connected: term(),
    last_child: term(),
    local_name: binary(),
    name: binary(),
    namespace_uri: binary(),
    next_sibling: term(),
    node_name: term(),
    node_type: term(),
    node_value: term(),
    owner_document: term(),
    owner_element: DOM.DOMElement.t(),
    parent_element: term(),
    parent_node: term(),
    prefix: binary(),
    previous_sibling: term(),
    specified: true,
    text_content: term(),
    value: binary()
  })

Link to this section Functions

Link to this function

new(attrs \\ [])

Creates an initialized instance of MODULE.t() It sets some attributes with default values