Versions in this module Expand all Collapse all v1 v1.5.1 Sep 14, 2024 v1.5.0 Sep 11, 2024 Changes in this version + var ErrNodeNoChilds = errors.New("Node has no childs") + var ErrNodeNoParent = errors.New("Node has no parent") + var ErrNodeNoParentElement = errors.New("Node has no parent element") + var ErrNotANode = errors.New("Object is not a Node") + var ErrNotImplemented = errors.New("Browser not implemented Node") + func GetInterface() js.Value + type Node struct + func NewFromJSObject(obj js.Value) (Node, error) + func (n *Node) Normalize() error + func (n Node) AppendChild(add Node) error + func (n Node) BaseURI() (string, error) + func (n Node) CloneNode(deep bool) (Node, error) + func (n Node) CompareDocumentPosition(node Node) (int, error) + func (n Node) Contains(node Node) (bool, error) + func (n Node) FirstChild() (Node, error) + func (n Node) GetRootNode() (Node, error) + func (n Node) HasChildNodes() (bool, error) + func (n Node) InsertBefore(elem, before Node) (Node, error) + func (n Node) IsConnected() (bool, error) + func (n Node) IsDefaultNamespace(namespace string) (bool, error) + func (n Node) IsEqualNode(n1 Node) (bool, error) + func (n Node) IsSameNode(n1 Node) (bool, error) + func (n Node) LastChild() (Node, error) + func (n Node) LookupNamespaceURI(prefix string) error + func (n Node) LookupPrefix(prefix string) (string, error) + func (n Node) NextSibling() (Node, error) + func (n Node) NodeName() (string, error) + func (n Node) NodeType() (int, error) + func (n Node) NodeValue() (interface{}, error) + func (n Node) Node_() Node + func (n Node) OwnerDocument() (Node, error) + func (n Node) ParentElement() (Node, error) + func (n Node) ParentNode() (Node, error) + func (n Node) PreviousSibling() (Node, error) + func (n Node) RemoveChild(node Node) (Node, error) + func (n Node) ReplaceChild(new, old Node) (Node, error) + func (n Node) SetNodeValue(i interface{}) error + func (n Node) SetTextContent(content string) error + func (n Node) TextContent() (string, error) + func (n Node) TextContent_() string + type NodeFrom interface + Node_ func() Node