htmlelement

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 31, 2022 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	//ErrNotImplemented ErrNotImplemented error
	ErrNotImplemented   = errors.New("Browser not implemented HtmlElement")
	ErrNotAnHtmlElement = errors.New("Object is not an HTMLElement")
	ErrDatasetNotFound  = errors.New("DataSet Not Found")
	ErrParentNotFound   = errors.New("Parent Elem Not Found")
)

Functions

func GetInterface

func GetInterface() js.Value

GetInterface get the JS interface of formdata

Types

type HtmlElement

type HtmlElement struct {
	element.Element
}

HtmlInputElement struct

func NewFromElement

func NewFromElement(elem element.Element) (HtmlElement, error)

func NewFromJSObject

func NewFromJSObject(obj js.Value) (HtmlElement, error)

func (HtmlElement) AccessKey

func (h HtmlElement) AccessKey() (string, error)

func (HtmlElement) AccessKeyLabel

func (h HtmlElement) AccessKeyLabel() (string, error)

func (HtmlElement) Blur

func (h HtmlElement) Blur() error

func (HtmlElement) ClassName

func (h HtmlElement) ClassName() (string, error)

func (HtmlElement) Click

func (h HtmlElement) Click() error

func (HtmlElement) ContentEditable

func (h HtmlElement) ContentEditable() (string, error)

func (HtmlElement) Dataset

func (h HtmlElement) Dataset(name string) (interface{}, error)

func (HtmlElement) Dir

func (h HtmlElement) Dir() (string, error)

func (HtmlElement) Focus

func (h HtmlElement) Focus() error

func (HtmlElement) Hidden

func (h HtmlElement) Hidden() (bool, error)

func (HtmlElement) HtmlElement_

func (h HtmlElement) HtmlElement_() HtmlElement

func (HtmlElement) InnerText added in v1.3.0

func (h HtmlElement) InnerText() (string, error)

func (HtmlElement) IsContentEditable

func (h HtmlElement) IsContentEditable() (bool, error)

func (HtmlElement) Lang

func (h HtmlElement) Lang() (string, error)

func (HtmlElement) OffsetHeight

func (h HtmlElement) OffsetHeight() (int, error)

func (HtmlElement) OffsetLeft

func (h HtmlElement) OffsetLeft() (int, error)

func (HtmlElement) OffsetParent

func (h HtmlElement) OffsetParent() (baseobject.BaseObject, error)

func (HtmlElement) OffsetTop

func (h HtmlElement) OffsetTop() (int, error)

func (HtmlElement) OffsetWidth

func (h HtmlElement) OffsetWidth() (int, error)

func (HtmlElement) OnAnimationCancel

func (h HtmlElement) OnAnimationCancel(handler func(a animationevent.AnimationEvent)) (js.Func, error)

func (HtmlElement) OnAnimationEnd

func (h HtmlElement) OnAnimationEnd(handler func(a animationevent.AnimationEvent)) (js.Func, error)

func (HtmlElement) OnAnimationIteration

func (h HtmlElement) OnAnimationIteration(handler func(a animationevent.AnimationEvent)) (js.Func, error)

func (HtmlElement) OnAnimationStart

func (h HtmlElement) OnAnimationStart(handler func(a animationevent.AnimationEvent)) (js.Func, error)

func (HtmlElement) OnBeforeInput

func (h HtmlElement) OnBeforeInput(handler func(e event.Event)) (js.Func, error)

func (HtmlElement) OnChange

func (h HtmlElement) OnChange(handler func(e event.Event)) (js.Func, error)

func (HtmlElement) OnDrag added in v1.4.0

func (h HtmlElement) OnDrag(handler func(e dragevent.DragEvent)) (js.Func, error)

func (HtmlElement) OnDragEnd added in v1.4.0

func (h HtmlElement) OnDragEnd(handler func(e dragevent.DragEvent)) (js.Func, error)

func (HtmlElement) OnDragEnter added in v1.4.0

func (h HtmlElement) OnDragEnter(handler func(e dragevent.DragEvent)) (js.Func, error)

func (HtmlElement) OnDragLeave added in v1.4.0

func (h HtmlElement) OnDragLeave(handler func(e dragevent.DragEvent)) (js.Func, error)

func (HtmlElement) OnDragOver added in v1.4.0

func (h HtmlElement) OnDragOver(handler func(e dragevent.DragEvent)) (js.Func, error)

func (HtmlElement) OnDragStart added in v1.4.0

func (h HtmlElement) OnDragStart(handler func(e dragevent.DragEvent)) (js.Func, error)

func (HtmlElement) OnDrop added in v1.4.0

func (h HtmlElement) OnDrop(handler func(e dragevent.DragEvent)) (js.Func, error)

func (HtmlElement) OnGotPointerCapture

func (h HtmlElement) OnGotPointerCapture(handler func(e event.Event)) (js.Func, error)

func (HtmlElement) OnInput

func (h HtmlElement) OnInput(handler func(e event.Event)) (js.Func, error)

func (HtmlElement) OnLostPointerCapture

func (h HtmlElement) OnLostPointerCapture(handler func(e event.Event)) (js.Func, error)

func (HtmlElement) OnPointerCancel

func (h HtmlElement) OnPointerCancel(handler func(e event.Event)) (js.Func, error)

func (HtmlElement) OnPointerDown

func (h HtmlElement) OnPointerDown(handler func(e event.Event)) (js.Func, error)

func (HtmlElement) OnPointerEnter

func (h HtmlElement) OnPointerEnter(handler func(e event.Event)) (js.Func, error)

func (HtmlElement) OnPointerLeave

func (h HtmlElement) OnPointerLeave(handler func(e event.Event)) (js.Func, error)

func (HtmlElement) OnPointerMove

func (h HtmlElement) OnPointerMove(handler func(e event.Event)) (js.Func, error)

func (HtmlElement) OnPointerOut

func (h HtmlElement) OnPointerOut(handler func(e event.Event)) (js.Func, error)

func (HtmlElement) OnPointerOver

func (h HtmlElement) OnPointerOver(handler func(e event.Event)) (js.Func, error)

func (HtmlElement) OnPointerUp

func (h HtmlElement) OnPointerUp(handler func(e event.Event)) (js.Func, error)

func (HtmlElement) OnTransitionCancel

func (h HtmlElement) OnTransitionCancel(handler func(e event.Event)) (js.Func, error)

func (HtmlElement) OnTransitionEnd

func (h HtmlElement) OnTransitionEnd(handler func(e event.Event)) (js.Func, error)

func (HtmlElement) OnTransitionRun

func (h HtmlElement) OnTransitionRun(handler func(e event.Event)) (js.Func, error)

func (HtmlElement) OnTransitionStart

func (h HtmlElement) OnTransitionStart(handler func(e event.Event)) (js.Func, error)

func (HtmlElement) SetAccessKey

func (h HtmlElement) SetAccessKey(value string) error

func (HtmlElement) SetAccessKeyLabel

func (h HtmlElement) SetAccessKeyLabel(value string) error

func (HtmlElement) SetClassName

func (h HtmlElement) SetClassName(classname string) error

func (HtmlElement) SetContentEditable

func (h HtmlElement) SetContentEditable(value string) error

func (HtmlElement) SetDataset

func (h HtmlElement) SetDataset(name string, value interface{}) error

func (HtmlElement) SetDir

func (h HtmlElement) SetDir(value string) error

func (HtmlElement) SetHidden

func (h HtmlElement) SetHidden(value bool) error

func (HtmlElement) SetInnerText added in v1.3.0

func (h HtmlElement) SetInnerText(value string) error

func (HtmlElement) SetLang

func (h HtmlElement) SetLang(value string) error

func (HtmlElement) SetTitle

func (h HtmlElement) SetTitle(value string) error

func (HtmlElement) Style

func (HtmlElement) Style_

func (HtmlElement) Title

func (h HtmlElement) Title() (string, error)

type HtmlElementFrom

type HtmlElementFrom interface {
	HtmlElement_() HtmlElement
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL