Documentation ¶
Index ¶
- Variables
- func GetInterface() js.Value
- type Element
- func (e Element) Animate(keyframes, options interface{}) error
- func (e Element) Attributes() (namednodemap.NamedNodeMap, error)
- func (e Element) ChildElementCount() (int, error)
- func (e Element) Children() (htmlcollection.HtmlCollection, error)
- func (e Element) ClassList() (domtokenlist.DOMTokenList, error)
- func (e Element) ClassName() (string, error)
- func (e Element) ClientHeight() (int, error)
- func (e Element) ClientLeft() (int, error)
- func (e Element) ClientTop() (int, error)
- func (e Element) ClientWidth() (int, error)
- func (e Element) Closest() (Element, error)
- func (e Element) ComputedName() (string, error)
- func (e Element) ComputedRole() (string, error)
- func (e Element) Element_() Element
- func (e Element) GetAttribute(attributename string) (string, error)
- func (e Element) GetAttributeNS(namespace, name string) (object.Object, error)
- func (e Element) GetAttributeNames() (array.Array, error)
- func (e Element) GetBoundingClientRect() (domrect.DOMRect, error)
- func (e Element) GetClientRects() (domrectlist.DOMRectList, error)
- func (e Element) GetElementsByClassName(classname string) (htmlcollection.HtmlCollection, error)
- func (e Element) GetElementsByTagName(tagname string) (nodelist.NodeList, error)
- func (e Element) HasAttribute(attributename string) (bool, error)
- func (e Element) HasPointerCapture(pointerid int) (bool, error)
- func (e Element) ID() (string, error)
- func (e Element) ID_() string
- func (e Element) InnerHTML() (string, error)
- func (e Element) InsertAdjacentElement(position string, elem Element) (Element, error)
- func (e Element) InsertAdjacentHTML(position string, textHTML string) error
- func (e Element) InsertAdjacentText(position string, text string) error
- func (e Element) LocalName() (string, error)
- func (e Element) Matches(selector string) (bool, error)
- func (e Element) NamespaceURI() (string, error)
- func (e Element) NextElementSibling() (Element, error)
- func (e Element) OnAuxClick(handler func(e event.Event)) (js.Func, error)
- func (e Element) OnBlur(handler func(e event.Event)) (js.Func, error)
- func (e Element) OnClick(handler func(e event.Event)) (js.Func, error)
- func (e Element) OnCompositionEnd(handler func(e event.Event)) (js.Func, error)
- func (e Element) OnCompositionStart(handler func(e event.Event)) (js.Func, error)
- func (e Element) OnCompositionUpdate(handler func(e event.Event)) (js.Func, error)
- func (e Element) OnContextMenu(handler func(e event.Event)) (js.Func, error)
- func (e Element) OnCopy(handler func(e event.Event)) (js.Func, error)
- func (e Element) OnCut(handler func(e event.Event)) (js.Func, error)
- func (e Element) OnDblClick(handler func(e event.Event)) (js.Func, error)
- func (e Element) OnError(handler func(e event.Event)) (js.Func, error)
- func (e Element) OnFocus(handler func(e event.Event)) (js.Func, error)
- func (e Element) OnFocusIn(handler func(e event.Event)) (js.Func, error)
- func (e Element) OnFocusOut(handler func(e event.Event)) (js.Func, error)
- func (e Element) OnFullScreenChange(handler func(e event.Event)) (js.Func, error)
- func (e Element) OnFullScreenError(handler func(e event.Event)) (js.Func, error)
- func (e Element) OnKeyDown(handler func(e event.Event)) (js.Func, error)
- func (e Element) OnKeyUp(handler func(e event.Event)) (js.Func, error)
- func (e Element) OnMouseDown(handler func(e event.Event)) (js.Func, error)
- func (e Element) OnMouseEnter(handler func(e event.Event)) (js.Func, error)
- func (e Element) OnMouseLeave(handler func(e event.Event)) (js.Func, error)
- func (e Element) OnMouseMove(handler func(e event.Event)) (js.Func, error)
- func (e Element) OnMouseOut(handler func(e event.Event)) (js.Func, error)
- func (e Element) OnMouseOver(handler func(e event.Event)) (js.Func, error)
- func (e Element) OnMouseUp(handler func(e event.Event)) (js.Func, error)
- func (e Element) OnPaste(handler func(e event.Event)) (js.Func, error)
- func (e Element) OnScroll(handler func(e event.Event)) (js.Func, error)
- func (e Element) OnSelect(handler func(e event.Event)) (js.Func, error)
- func (e Element) OnTouchCancel(handler func(e event.Event)) (js.Func, error)
- func (e Element) OnTouchEnd(handler func(e event.Event)) (js.Func, error)
- func (e Element) OnTouchMove(handler func(e event.Event)) (js.Func, error)
- func (e Element) OnTouchStart(handler func(e event.Event)) (js.Func, error)
- func (e Element) OnTouchWheel(handler func(e event.Event)) (js.Func, error)
- func (e Element) OuterHTML() (string, error)
- func (e Element) Prefix() (string, error)
- func (e Element) PreviousElementSibling() (Element, error)
- func (e Element) QuerySelector(selector string) (node.Node, error)
- func (e Element) QuerySelectorAll(selector string) (nodelist.NodeList, error)
- func (e Element) ReleasePointerCapture(pointerid int) error
- func (e Element) Remove() error
- func (e Element) RemoveAttribute(attrname string) error
- func (e Element) RemoveAttributeNS(namespace, attrname string) error
- func (e Element) RequestFullscreen() error
- func (e Element) RequestPointerLock() error
- func (e Element) Scroll(x, y int, opts ...map[string]interface{}) error
- func (e Element) ScrollHeight() (int, error)
- func (e Element) ScrollLeft() (int, error)
- func (e Element) ScrollTo(x, y int, opts ...map[string]interface{}) error
- func (e Element) ScrollTop() (int, error)
- func (e Element) ScrollWidth() (int, error)
- func (e Element) SetAttribute(name, value string) error
- func (e Element) SetAttributeNS(namespace, name, value string) error
- func (e Element) SetClassName(value string) error
- func (e Element) SetID(value string) error
- func (e Element) SetInnerHTML(value string) error
- func (e Element) SetOuterHTML(value string) error
- func (e Element) SetPointerCapture(pointerid int) error
- func (e Element) SetScrollHeight(value int) error
- func (e Element) SetScrollLeft(value int) error
- func (e Element) SetScrollTop(value int) error
- func (e Element) SetScrollWidth(value int) error
- func (e Element) TagName() (string, error)
- func (e Element) ToggleAttribute(name string, opts ...interface{}) (bool, error)
- type ElementFrom
Constants ¶
This section is empty.
Variables ¶
View Source
var ( //ErrNotImplemented ErrNotImplemented error ErrNotImplemented = errors.New("Browser not implemented Node") ErrNotAnElement = errors.New("Object is not an Element") ErrElementNoChilds = errors.New("Element has no childs") ErrAttributeEmpty = errors.New("Attribute is empty") ErrInsertAdajacent = errors.New("Insert Adjacent failed") ErrElementNotFound = errors.New("Element not Found") ErrElementsNotFound = errors.New("Elements not Found") )
Functions ¶
func GetInterface ¶
GetJSInterface get teh JS interface of broadcast channel
Types ¶
type Element ¶
func ItemFromHTMLCollection ¶
func ItemFromHTMLCollection(collection htmlcollection.HtmlCollection, index int) (Element, error)
func (Element) Attributes ¶
func (e Element) Attributes() (namednodemap.NamedNodeMap, error)
func (Element) ChildElementCount ¶
func (Element) Children ¶
func (e Element) Children() (htmlcollection.HtmlCollection, error)
func (Element) ClassList ¶
func (e Element) ClassList() (domtokenlist.DOMTokenList, error)
func (Element) ClientHeight ¶
func (Element) ClientLeft ¶
func (Element) ClientWidth ¶
func (Element) ComputedName ¶
func (Element) ComputedRole ¶
func (Element) GetAttributeNS ¶
func (Element) GetBoundingClientRect ¶
func (Element) GetClientRects ¶
func (e Element) GetClientRects() (domrectlist.DOMRectList, error)
retourne un DOMRectList
func (Element) GetElementsByClassName ¶
func (e Element) GetElementsByClassName(classname string) (htmlcollection.HtmlCollection, error)
func (Element) GetElementsByTagName ¶
func (Element) InsertAdjacentElement ¶
func (Element) InsertAdjacentHTML ¶
func (Element) InsertAdjacentText ¶
func (Element) NamespaceURI ¶
func (Element) NextElementSibling ¶
func (Element) OnAuxClick ¶
func (Element) OnCompositionEnd ¶
func (Element) OnCompositionStart ¶
func (Element) OnCompositionUpdate ¶
func (Element) OnContextMenu ¶
func (Element) OnDblClick ¶
func (Element) OnFocusOut ¶
func (Element) OnFullScreenChange ¶
func (Element) OnFullScreenError ¶
func (Element) OnMouseDown ¶
func (Element) OnMouseEnter ¶
func (Element) OnMouseLeave ¶
func (Element) OnMouseMove ¶
func (Element) OnMouseOut ¶
func (Element) OnMouseOver ¶
func (Element) OnTouchCancel ¶
func (Element) OnTouchEnd ¶
func (Element) OnTouchMove ¶
func (Element) OnTouchStart ¶
func (Element) OnTouchWheel ¶
func (Element) PreviousElementSibling ¶
func (Element) QuerySelectorAll ¶
func (Element) ReleasePointerCapture ¶
func (Element) RemoveAttribute ¶
func (Element) RemoveAttributeNS ¶
func (Element) RequestFullscreen ¶
func (Element) RequestPointerLock ¶
func (Element) ScrollHeight ¶
func (Element) ScrollLeft ¶
func (Element) ScrollWidth ¶
func (Element) SetAttribute ¶
func (Element) SetAttributeNS ¶
func (Element) SetClassName ¶
func (Element) SetInnerHTML ¶
func (Element) SetOuterHTML ¶
func (Element) SetPointerCapture ¶
func (Element) SetScrollHeight ¶
func (Element) SetScrollLeft ¶
func (Element) SetScrollTop ¶
func (Element) SetScrollWidth ¶
type ElementFrom ¶
type ElementFrom interface {
Element_() Element
}
Click to show internal directories.
Click to hide internal directories.