Documentation ¶
Index ¶
- func GetGlobalDOMImplementationJSValue() js.Value
- func IsDOMImplementationSupported() bool
- type DOMImplementation
- type Document
- type DocumentType
- type Element
- func (self *Element) Append(node *Node)
- func (self *Element) AsNode() *Node
- func (self *Element) ParentElement() *Element
- func (self *Element) ParentNode() *Node
- func (self *Element) Remove()
- func (self *Element) RemoveChild(node *Node)
- func (self *Element) SetAttribute(name string, value string)
- func (self *Element) SetAttributeNS(namespace string, name string, value string)
- type Node
- type ToNodeConvertable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsDOMImplementationSupported ¶
func IsDOMImplementationSupported() bool
Types ¶
type DOMImplementation ¶
func NewDOMImplementationFromJSValue ¶
func NewDOMImplementationFromJSValue(val js.Value) *DOMImplementation
func (*DOMImplementation) CreateDocumentType ¶
func (self *DOMImplementation) CreateDocumentType(qualifiedNameStr string, publicId string, systemId string) *DocumentType
func (*DOMImplementation) CreateHTMLDocument ¶
func (self *DOMImplementation) CreateHTMLDocument(title string) *Document
type Document ¶
func NewDocumentFromJsValue ¶
func (*Document) CreateElement ¶
func (*Document) CreateElementNS ¶
func (*Document) Implementation ¶
func (self *Document) Implementation() *DOMImplementation
func (*Document) NewTextNode ¶
type DocumentType ¶
type DocumentType struct {
Node
}
func NewDocumentTypeFromJsValue ¶
func NewDocumentTypeFromJsValue(jsvalue js.Value) *DocumentType
type Element ¶
type Element struct {
Node *Node
}
func (*Element) ParentElement ¶
func (*Element) ParentNode ¶
func (*Element) RemoveChild ¶
func (*Element) SetAttribute ¶
type Node ¶
func (*Node) AppendChild ¶
func (*Node) GetFirstChild ¶
func (*Node) ParentElement ¶
func (*Node) ParentNode ¶
func (*Node) RemoveAllChildren ¶
func (self *Node) RemoveAllChildren()
func (*Node) RemoveChild ¶
type ToNodeConvertable ¶
type ToNodeConvertable interface {
AsNode() *Node
}
Click to show internal directories.
Click to hide internal directories.