GenDOM.Element (gen_dom v0.0.1)

Summary

Functions

Returns a specification to start this module under a supervisor.

Functions

animate(element, keyframes, options \\ [])

append(element, nodes)

append_child(node, child)

See GenDOM.Node.append_child/2.

assign(node, assigns)

See GenDOM.Node.assign/2.

attach_shadow(element, options \\ [])

before(element, nodes)

check_visibility(element, options \\ [])

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

clone_node(node)

See GenDOM.Node.clone_node/1.

closest(element, selectors)

compare_document_position(node, other_node)

See GenDOM.Node.compare_document_position/2.

computed_style_map(element)

contains?(node, other_node)

See GenDOM.Node.contains?/2.

do_after(element, nodes)

get(node)

See GenDOM.Node.get/1.

get_animations(element, options \\ [])

get_attribute(element, attribute_name)

get_attribute_names(element)

get_attribute_node(element, attribute_name)

get_attribute_node_ns(element, namespace, node_name)

get_attribute_ns(element, namespace, name)

get_bounding_client_rect(element)

get_client_rects(element)

get_elements_by_class_name(element, names)

get_elements_by_tag_name(element, tag_name)

get_elements_by_tag_name_ns(element, namespace, local_name)

get_html(element, options \\ [])

has_attribute?(element, name)

has_attribute_ns?(element, namespace, local_name)

has_attributes?(element)

has_child_nodes?(node)

See GenDOM.Node.has_child_nodes?/1.

has_pointer_capture?(element, pointer_id)

import_node(element, external_node, deep?)

insert_adjacent_element(element, position, other_element)

insert_adjacent_html(element, position, text)

insert_adjacent_text(element, where, data)

insert_before(node, new_node, reference_node)

See GenDOM.Node.insert_before/3.

is_default_namespace?(node, uri)

See GenDOM.Node.is_default_namespace?/2.

is_equal_node?(node, other_node)

See GenDOM.Node.is_equal_node?/2.

is_same_node?(node, other_node)

See GenDOM.Node.is_same_node?/2.

lookup_namespace_uri(node, prefix)

See GenDOM.Node.lookup_namespace_uri/2.

lookup_prefix(node, namespace)

See GenDOM.Node.lookup_prefix/2.

matches?(element, selectors)

merge(node, fields)

See GenDOM.Node.merge/2.

new(opts)

normalize(node)

See GenDOM.Node.normalize/1.

prepend(element, nodes)

put(node, key, value)

See GenDOM.Node.put/3.

query_selector(element, selectors)

query_selector_all(element, selectors)

release_pointer_capture(element, pointer_id)

remove(element)

remove_attribute(element, attribute_name)

remove_attribute_node(element, attribute_node)

remove_attribute_ns(element, namespace, attribute_node)

remove_child(node, child)

See GenDOM.Node.remove_child/2.

replace_child(node, new_child, old_child)

See GenDOM.Node.replace_child/3.

replace_children(element, children)

replace_with(element, nodes)

request_fullscreen(element, options \\ [])

request_pointer_lock(element, options \\ [])

scroll(element, options \\ [])

scroll(element, x_coord, y_coord)

scroll_by(element, options \\ [])

scroll_into_view(element, align_to_top)

scroll_to(element, options \\ [])

scroll_to(element, x_coord, y_coord)

set_attribute(element, name, value)

set_attribute_node(element, attribute)

set_attribute_node_ns(element, attribute_node)

set_attribute_ns(element, namespace, name, value)

set_html_unsafe(element, html)

set_pointer_capture(element, pointer_id)

start_link(opts)

toggle_attribute(element)

toggle_attribute(element, force?)