Documentation ¶
Index ¶
- Variables
- func GetInterface() js.Value
- type Document
- func (d Document) ActiveElement() (element.Element, error)
- func (d Document) AdoptNode(externalNode node.Node) (interface{}, error)
- func (d Document) Append(i interface{}) error
- func (d Document) Body() (htmlelement.HtmlElement, error)
- func (d Document) Body_() htmlelement.HtmlElement
- func (d Document) CharacterSet() (string, error)
- func (d Document) ChildElementCount() (int, error)
- func (d Document) Children() (htmlcollection.HtmlCollection, error)
- func (d Document) Close() error
- func (d Document) CompatMode() (string, error)
- func (d Document) ContentType() (string, error)
- func (d Document) Cookie() (string, error)
- func (d Document) CreateAttribute(name string) (attr.Attr, error)
- func (d Document) CreateComment(comment string) (node.Node, error)
- func (d Document) CreateDocumentFragment() (node.Node, error)
- func (d Document) CreateElement(tagname string) (element.Element, error)
- func (d Document) CreateElementNS(namespaceURI string, qualifiedName string) (element.Element, error)
- func (d Document) CreateEvent(eventtype string) (event.Event, error)
- func (d Document) CreateHTMLElement(tagname string) (htmlelement.HtmlElement, error)
- func (d Document) CreateTextNode(text string) (node.Node, error)
- func (d *Document) Doctype()
- func (d Document) DocumentElement() (element.Element, error)
- func (d *Document) DocumentURI() (string, error)
- func (d Document) Document_() Document
- func (d Document) Domain() (string, error)
- func (d Document) ElementFromPoint(x, y int) (element.Element, error)
- func (d Document) ElementsFromPoint(x, y int) ([]element.Element, error)
- func (d Document) Embeds() (htmlcollection.HtmlCollection, error)
- func (d Document) ExitPointerLock() error
- func (d Document) FirstElementChild() (element.Element, error)
- func (d Document) Fonts()
- func (d Document) Forms() (htmlcollection.HtmlCollection, error)
- func (d Document) FullscreenElement() (element.Element, error)
- func (d Document) GetElementById(id string) (element.Element, error)
- func (d Document) GetElementsByClassName(classname string) (htmlcollection.HtmlCollection, error)
- func (d Document) GetElementsByName(name string) (nodelist.NodeList, error)
- func (d Document) GetElementsByTagName(tagname string) (htmlcollection.HtmlCollection, error)
- func (d Document) GetElementsByTagNameNS(namespace, tagname string) (htmlcollection.HtmlCollection, error)
- func (d Document) HasFocus() (bool, error)
- func (d Document) Head() (element.Element, error)
- func (d Document) Hidden() (bool, error)
- func (d Document) Images() (htmlcollection.HtmlCollection, error)
- func (d Document) Implementation()
- func (d Document) ImportNode(externalNode node.Node, deep bool) (interface{}, error)
- func (d Document) LastElementChild() (element.Element, error)
- func (d Document) LastModified() (string, error)
- func (d Document) Links() (htmlcollection.HtmlCollection, error)
- func (d Document) Open() error
- func (d Document) PictureInPictureElement() (element.Element, error)
- func (d Document) PictureInPictureEnabled() (bool, error)
- func (d Document) Plugins() (htmlcollection.HtmlCollection, error)
- func (d Document) PointerLockElement() (element.Element, error)
- func (d Document) QuerySelector(selector string) (element.Element, error)
- func (d Document) QuerySelectorAll(selector string) (nodelist.NodeList, error)
- func (d Document) QuerySelectorAll_(selector string) nodelist.NodeList
- func (d Document) ReadyState() (string, error)
- func (d Document) Referrer() (string, error)
- func (d Document) ReleaseCapture() error
- func (d Document) Scripts() (htmlcollection.HtmlCollection, error)
- func (d Document) ScrollingElement() (element.Element, error)
- func (d Document) SetCookie(cookie string) error
- func (d Document) SetDomain(domain string) error
- func (d Document) SetTitle(title string) error
- func (d Document) Title() (string, error)
- func (d Document) URL() (string, error)
- func (d Document) VisibilityState() (string, error)
- func (d Document) Write(p []byte) (n int, err error)
- func (d Document) Writeln(text string) error
- type DocumentFrom
Constants ¶
This section is empty.
Variables ¶
View Source
var ( //ErrNotImplemented ErrNotImplemented error ErrNotImplemented = errors.New("Browser not implemented Document") //ErrNotADocument ErrNotADocument ErrNotADocument = errors.New("The given value must be a document") ErrElementNotFound = errors.New("Element not Found") ErrElementsNotFound = errors.New("Elements not Found") )
Functions ¶
func GetInterface ¶
Types ¶
type Document ¶
func (Document) Body ¶
func (d Document) Body() (htmlelement.HtmlElement, error)
func (Document) Body_ ¶
func (d Document) Body_() htmlelement.HtmlElement
func (Document) CharacterSet ¶
func (Document) ChildElementCount ¶
func (Document) Children ¶
func (d Document) Children() (htmlcollection.HtmlCollection, error)
func (Document) CompatMode ¶
func (Document) ContentType ¶
func (Document) CreateDocumentFragment ¶
func (Document) CreateElement ¶
func (Document) CreateElementNS ¶
func (Document) CreateHTMLElement ¶
func (d Document) CreateHTMLElement(tagname string) (htmlelement.HtmlElement, error)
func (*Document) DocumentURI ¶
func (Document) ElementFromPoint ¶
func (Document) ElementsFromPoint ¶
func (Document) Embeds ¶
func (d Document) Embeds() (htmlcollection.HtmlCollection, error)
func (Document) ExitPointerLock ¶
func (Document) Forms ¶
func (d Document) Forms() (htmlcollection.HtmlCollection, error)
func (Document) GetElementById ¶
func (Document) GetElementsByClassName ¶
func (d Document) GetElementsByClassName(classname string) (htmlcollection.HtmlCollection, error)
func (Document) GetElementsByName ¶
func (Document) GetElementsByTagName ¶
func (d Document) GetElementsByTagName(tagname string) (htmlcollection.HtmlCollection, error)
func (Document) GetElementsByTagNameNS ¶
func (d Document) GetElementsByTagNameNS(namespace, tagname string) (htmlcollection.HtmlCollection, error)
func (Document) Images ¶
func (d Document) Images() (htmlcollection.HtmlCollection, error)
func (Document) Implementation ¶
func (d Document) Implementation()
func (Document) ImportNode ¶
func (Document) LastModified ¶
func (Document) Links ¶
func (d Document) Links() (htmlcollection.HtmlCollection, error)
func (Document) PictureInPictureElement ¶
func (Document) PictureInPictureEnabled ¶
func (Document) Plugins ¶
func (d Document) Plugins() (htmlcollection.HtmlCollection, error)
func (Document) PointerLockElement ¶
func (Document) QuerySelector ¶
func (Document) QuerySelectorAll ¶
func (Document) QuerySelectorAll_ ¶
func (Document) ReadyState ¶
func (Document) ReleaseCapture ¶
func (Document) Scripts ¶
func (d Document) Scripts() (htmlcollection.HtmlCollection, error)
func (Document) VisibilityState ¶
type DocumentFrom ¶
type DocumentFrom interface {
Document_() Document
}
Click to show internal directories.
Click to hide internal directories.