Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Document ¶
type Document interface { Node // Properties Body() Element //CharacterSet() string //ContentType() string Doctype() DocumentType DocumentElement() Element // Methods CreateElement(string) Element CreateAttribute(string) Attr CreateComment(string) Comment CreateTextNode(string) Text }
Document implements https://developer.mozilla.org/en-US/docs/Web/API/Document
type DocumentType ¶
type DocumentType interface { Node // Properties Name() string PublicId() string SystemId() string }
Document implements https://developer.mozilla.org/en-US/docs/Web/API/DocumentType
type Element ¶
type Element interface { Node // Properties InnerHTML() string OuterHTML() string TagName() string Attributes() []Attr // Methods //RemoveAttrbute(string) //RemoveAttributeNode(Attr) Attr SetAttribute(string, string) Attr //SetAttributeNode(Attr) Attr //GetAttribute(string) string //GetAttributeNames() []string //GetAttributeNode(string) Attr //HasAttribute(string) bool HasAttributes() bool }
type Node ¶
type Node interface { // Properties ChildNodes() []Node Contains(Node) bool Equals(Node) bool FirstChild() Node HasChildNodes() bool IsConnected() bool LastChild() Node NextSibling() Node NodeName() string NodeType() NodeType OwnerDocument() Document ParentElement() Element ParentNode() Node PreviousSibling() Node TextContent() string // Methods AppendChild(Node) Node CloneNode(bool) Node InsertBefore(Node, Node) Node RemoveChild(Node) ReplaceChild(Node, Node) }
Node implements https://developer.mozilla.org/en-US/docs/Web/API/Node
Click to show internal directories.
Click to hide internal directories.