html

package
Version: v0.0.0-...-704d94b Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2021 License: BSD-3-Clause Imports: 16 Imported by: 5

Documentation

Overview

Package html contains HTML DOM elements types.

Source: HTML Standard (https://html.spec.whatwg.org/)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AssignedNodesOptions

type AssignedNodesOptions struct {
	Flatten bool
}

dictionary: AssignedNodesOptions

func AssignedNodesOptionsFromJS

func AssignedNodesOptionsFromJS(value js.Wrapper) *AssignedNodesOptions

AssignedNodesOptionsFromJS is allocating a new AssignedNodesOptions object and copy all values from input javascript object

func (*AssignedNodesOptions) JSValue

func (_this *AssignedNodesOptions) JSValue() js.Value

JSValue is allocating a new javasript object and copy all values

type FocusOptions

type FocusOptions struct {
	PreventScroll bool
}

dictionary: FocusOptions

func FocusOptionsFromJS

func FocusOptionsFromJS(value js.Wrapper) *FocusOptions

FocusOptionsFromJS is allocating a new FocusOptions object and copy all values from input javascript object

func (*FocusOptions) JSValue

func (_this *FocusOptions) JSValue() js.Value

JSValue is allocating a new javasript object and copy all values

type FormData

type FormData struct {
	// Value_JS holds a reference to a javascript value
	Value_JS js.Value
}

class: FormData

func FormDataFromJS

func FormDataFromJS(value js.Wrapper) *FormData

FormDataFromJS is casting a js.Wrapper into FormData.

func NewFormData

func NewFormData(form *HTMLFormElement) (_result *FormData)

func (*FormData) Append

func (_this *FormData) Append(name string, value string)

func (*FormData) Append2

func (_this *FormData) Append2(name string, blobValue *file.Blob, filename *string)

func (*FormData) Delete

func (_this *FormData) Delete(name string)

func (*FormData) Entries

func (_this *FormData) Entries() (_result *FormDataEntryIterator)

func (*FormData) ForEach

func (_this *FormData) ForEach(callback *FormDataForEach, optionalThisForCallbackArgument interface{})

func (*FormData) Get

func (_this *FormData) Get(name string) (_result *Union)

func (*FormData) GetAll

func (_this *FormData) GetAll(name string) (_result []*Union)

func (*FormData) Has

func (_this *FormData) Has(name string) (_result bool)

func (*FormData) JSValue

func (_this *FormData) JSValue() js.Value

func (*FormData) Keys

func (_this *FormData) Keys() (_result *FormDataKeyIterator)

func (*FormData) Set

func (_this *FormData) Set(name string, value string)

func (*FormData) Set2

func (_this *FormData) Set2(name string, blobValue *file.Blob, filename *string)

func (*FormData) Values

func (_this *FormData) Values() (_result *FormDataValueIterator)

type FormDataEntryIterator

type FormDataEntryIterator struct {
	// Value_JS holds a reference to a javascript value
	Value_JS js.Value
}

class: FormDataEntryIterator

func FormDataEntryIteratorFromJS

func FormDataEntryIteratorFromJS(value js.Wrapper) *FormDataEntryIterator

FormDataEntryIteratorFromJS is casting a js.Wrapper into FormDataEntryIterator.

func (*FormDataEntryIterator) JSValue

func (_this *FormDataEntryIterator) JSValue() js.Value

func (*FormDataEntryIterator) Next

func (_this *FormDataEntryIterator) Next() (_result *FormDataEntryIteratorValue)

type FormDataEntryIteratorValue

type FormDataEntryIteratorValue struct {
	Value []js.Value
	Done  bool
}

dictionary: FormDataEntryIteratorValue

func FormDataEntryIteratorValueFromJS

func FormDataEntryIteratorValueFromJS(value js.Wrapper) *FormDataEntryIteratorValue

FormDataEntryIteratorValueFromJS is allocating a new FormDataEntryIteratorValue object and copy all values from input javascript object

func (*FormDataEntryIteratorValue) JSValue

func (_this *FormDataEntryIteratorValue) JSValue() js.Value

JSValue is allocating a new javasript object and copy all values

type FormDataEvent

type FormDataEvent struct {
	domcore.Event
}

class: FormDataEvent

func FormDataEventFromJS

func FormDataEventFromJS(value js.Wrapper) *FormDataEvent

FormDataEventFromJS is casting a js.Wrapper into FormDataEvent.

func NewFormDataEvent

func NewFormDataEvent(_type string, eventInitDict *FormDataEventInit) (_result *FormDataEvent)

func (*FormDataEvent) FormData

func (_this *FormDataEvent) FormData() *FormData

FormData returning attribute 'formData' with type FormData (idl: FormData).

type FormDataEventInit

type FormDataEventInit struct {
	Bubbles    bool
	Cancelable bool
	Composed   bool
	FormData   *FormData
}

dictionary: FormDataEventInit

func FormDataEventInitFromJS

func FormDataEventInitFromJS(value js.Wrapper) *FormDataEventInit

FormDataEventInitFromJS is allocating a new FormDataEventInit object and copy all values from input javascript object

func (*FormDataEventInit) JSValue

func (_this *FormDataEventInit) JSValue() js.Value

JSValue is allocating a new javasript object and copy all values

type FormDataForEach

type FormDataForEach js.Func

FormDataForEach is a javascript function type.

Call Release() when done to release resouces allocated to this type.

func FormDataForEachToJS

func FormDataForEachToJS(callback FormDataForEachFunc) *FormDataForEach

type FormDataForEachFunc

type FormDataForEachFunc func(currentValue *Union, currentIndex int, listObj *FormData)

callback: FormDataForEach

func FormDataForEachFromJS

func FormDataForEachFromJS(_value js.Value) FormDataForEachFunc

type FormDataKeyIterator

type FormDataKeyIterator struct {
	// Value_JS holds a reference to a javascript value
	Value_JS js.Value
}

class: FormDataKeyIterator

func FormDataKeyIteratorFromJS

func FormDataKeyIteratorFromJS(value js.Wrapper) *FormDataKeyIterator

FormDataKeyIteratorFromJS is casting a js.Wrapper into FormDataKeyIterator.

func (*FormDataKeyIterator) JSValue

func (_this *FormDataKeyIterator) JSValue() js.Value

func (*FormDataKeyIterator) Next

func (_this *FormDataKeyIterator) Next() (_result *FormDataKeyIteratorValue)

type FormDataKeyIteratorValue

type FormDataKeyIteratorValue struct {
	Value string
	Done  bool
}

dictionary: FormDataKeyIteratorValue

func FormDataKeyIteratorValueFromJS

func FormDataKeyIteratorValueFromJS(value js.Wrapper) *FormDataKeyIteratorValue

FormDataKeyIteratorValueFromJS is allocating a new FormDataKeyIteratorValue object and copy all values from input javascript object

func (*FormDataKeyIteratorValue) JSValue

func (_this *FormDataKeyIteratorValue) JSValue() js.Value

JSValue is allocating a new javasript object and copy all values

type FormDataValueIterator

type FormDataValueIterator struct {
	// Value_JS holds a reference to a javascript value
	Value_JS js.Value
}

class: FormDataValueIterator

func FormDataValueIteratorFromJS

func FormDataValueIteratorFromJS(value js.Wrapper) *FormDataValueIterator

FormDataValueIteratorFromJS is casting a js.Wrapper into FormDataValueIterator.

func (*FormDataValueIterator) JSValue

func (_this *FormDataValueIterator) JSValue() js.Value

func (*FormDataValueIterator) Next

func (_this *FormDataValueIterator) Next() (_result *FormDataValueIteratorValue)

type FormDataValueIteratorValue

type FormDataValueIteratorValue struct {
	Value *Union
	Done  bool
}

dictionary: FormDataValueIteratorValue

func FormDataValueIteratorValueFromJS

func FormDataValueIteratorValueFromJS(value js.Wrapper) *FormDataValueIteratorValue

FormDataValueIteratorValueFromJS is allocating a new FormDataValueIteratorValue object and copy all values from input javascript object

func (*FormDataValueIteratorValue) JSValue

func (_this *FormDataValueIteratorValue) JSValue() js.Value

JSValue is allocating a new javasript object and copy all values

type HTMLAllCollection

type HTMLAllCollection struct {
	// Value_JS holds a reference to a javascript value
	Value_JS js.Value
}

class: HTMLAllCollection

func HTMLAllCollectionFromJS

func HTMLAllCollectionFromJS(value js.Wrapper) *HTMLAllCollection

HTMLAllCollectionFromJS is casting a js.Wrapper into HTMLAllCollection.

func (*HTMLAllCollection) Get

func (_this *HTMLAllCollection) Get(name string) (_result *Union)

func (*HTMLAllCollection) Index

func (_this *HTMLAllCollection) Index(index uint) (_result *dom.Element)

func (*HTMLAllCollection) Item

func (_this *HTMLAllCollection) Item(nameOrIndex *string) (_result *Union)

func (*HTMLAllCollection) JSValue

func (_this *HTMLAllCollection) JSValue() js.Value

func (*HTMLAllCollection) Length

func (_this *HTMLAllCollection) Length() uint

Length returning attribute 'length' with type uint (idl: unsigned long).

func (*HTMLAllCollection) NamedItem

func (_this *HTMLAllCollection) NamedItem(name string) (_result *Union)

type HTMLAnchorElement

type HTMLAnchorElement struct {
	HTMLElement
}

class: HTMLAnchorElement

func HTMLAnchorElementFromJS

func HTMLAnchorElementFromJS(value js.Wrapper) *HTMLAnchorElement

HTMLAnchorElementFromJS is casting a js.Wrapper into HTMLAnchorElement.

func (*HTMLAnchorElement) Charset

func (_this *HTMLAnchorElement) Charset() string

Charset returning attribute 'charset' with type string (idl: DOMString).

func (*HTMLAnchorElement) Coords

func (_this *HTMLAnchorElement) Coords() string

Coords returning attribute 'coords' with type string (idl: DOMString).

func (*HTMLAnchorElement) Download

func (_this *HTMLAnchorElement) Download() string

Download returning attribute 'download' with type string (idl: DOMString).

func (*HTMLAnchorElement) Hash

func (_this *HTMLAnchorElement) Hash() string

Hash returning attribute 'hash' with type string (idl: USVString).

func (*HTMLAnchorElement) Host

func (_this *HTMLAnchorElement) Host() string

Host returning attribute 'host' with type string (idl: USVString).

func (*HTMLAnchorElement) Hostname

func (_this *HTMLAnchorElement) Hostname() string

Hostname returning attribute 'hostname' with type string (idl: USVString).

func (*HTMLAnchorElement) Href

func (_this *HTMLAnchorElement) Href() string

Href returning attribute 'href' with type string (idl: USVString).

func (*HTMLAnchorElement) Hreflang

func (_this *HTMLAnchorElement) Hreflang() string

Hreflang returning attribute 'hreflang' with type string (idl: DOMString).

func (*HTMLAnchorElement) Name

func (_this *HTMLAnchorElement) Name() string

Name returning attribute 'name' with type string (idl: DOMString).

func (*HTMLAnchorElement) Origin

func (_this *HTMLAnchorElement) Origin() string

Origin returning attribute 'origin' with type string (idl: USVString).

func (*HTMLAnchorElement) Password

func (_this *HTMLAnchorElement) Password() string

Password returning attribute 'password' with type string (idl: USVString).

func (*HTMLAnchorElement) Pathname

func (_this *HTMLAnchorElement) Pathname() string

Pathname returning attribute 'pathname' with type string (idl: USVString).

func (*HTMLAnchorElement) Ping

func (_this *HTMLAnchorElement) Ping() string

Ping returning attribute 'ping' with type string (idl: USVString).

func (*HTMLAnchorElement) Port

func (_this *HTMLAnchorElement) Port() string

Port returning attribute 'port' with type string (idl: USVString).

func (*HTMLAnchorElement) Protocol

func (_this *HTMLAnchorElement) Protocol() string

Protocol returning attribute 'protocol' with type string (idl: USVString).

func (*HTMLAnchorElement) ReferrerPolicy

func (_this *HTMLAnchorElement) ReferrerPolicy() string

ReferrerPolicy returning attribute 'referrerPolicy' with type string (idl: DOMString).

func (*HTMLAnchorElement) Rel

func (_this *HTMLAnchorElement) Rel() string

Rel returning attribute 'rel' with type string (idl: DOMString).

func (*HTMLAnchorElement) RelList

func (_this *HTMLAnchorElement) RelList() *domcore.DOMTokenList

RelList returning attribute 'relList' with type domcore.DOMTokenList (idl: DOMTokenList).

func (*HTMLAnchorElement) Rev

func (_this *HTMLAnchorElement) Rev() string

Rev returning attribute 'rev' with type string (idl: DOMString).

func (*HTMLAnchorElement) Search

func (_this *HTMLAnchorElement) Search() string

Search returning attribute 'search' with type string (idl: USVString).

func (*HTMLAnchorElement) SetCharset

func (_this *HTMLAnchorElement) SetCharset(value string)

SetCharset setting attribute 'charset' with type string (idl: DOMString).

func (*HTMLAnchorElement) SetCoords

func (_this *HTMLAnchorElement) SetCoords(value string)

SetCoords setting attribute 'coords' with type string (idl: DOMString).

func (*HTMLAnchorElement) SetDownload

func (_this *HTMLAnchorElement) SetDownload(value string)

SetDownload setting attribute 'download' with type string (idl: DOMString).

func (*HTMLAnchorElement) SetHash

func (_this *HTMLAnchorElement) SetHash(value string)

SetHash setting attribute 'hash' with type string (idl: USVString).

func (*HTMLAnchorElement) SetHost

func (_this *HTMLAnchorElement) SetHost(value string)

SetHost setting attribute 'host' with type string (idl: USVString).

func (*HTMLAnchorElement) SetHostname

func (_this *HTMLAnchorElement) SetHostname(value string)

SetHostname setting attribute 'hostname' with type string (idl: USVString).

func (*HTMLAnchorElement) SetHref

func (_this *HTMLAnchorElement) SetHref(value string)

SetHref setting attribute 'href' with type string (idl: USVString).

func (*HTMLAnchorElement) SetHreflang

func (_this *HTMLAnchorElement) SetHreflang(value string)

SetHreflang setting attribute 'hreflang' with type string (idl: DOMString).

func (*HTMLAnchorElement) SetName

func (_this *HTMLAnchorElement) SetName(value string)

SetName setting attribute 'name' with type string (idl: DOMString).

func (*HTMLAnchorElement) SetPassword

func (_this *HTMLAnchorElement) SetPassword(value string)

SetPassword setting attribute 'password' with type string (idl: USVString).

func (*HTMLAnchorElement) SetPathname

func (_this *HTMLAnchorElement) SetPathname(value string)

SetPathname setting attribute 'pathname' with type string (idl: USVString).

func (*HTMLAnchorElement) SetPing

func (_this *HTMLAnchorElement) SetPing(value string)

SetPing setting attribute 'ping' with type string (idl: USVString).

func (*HTMLAnchorElement) SetPort

func (_this *HTMLAnchorElement) SetPort(value string)

SetPort setting attribute 'port' with type string (idl: USVString).

func (*HTMLAnchorElement) SetProtocol

func (_this *HTMLAnchorElement) SetProtocol(value string)

SetProtocol setting attribute 'protocol' with type string (idl: USVString).

func (*HTMLAnchorElement) SetReferrerPolicy

func (_this *HTMLAnchorElement) SetReferrerPolicy(value string)

SetReferrerPolicy setting attribute 'referrerPolicy' with type string (idl: DOMString).

func (*HTMLAnchorElement) SetRel

func (_this *HTMLAnchorElement) SetRel(value string)

SetRel setting attribute 'rel' with type string (idl: DOMString).

func (*HTMLAnchorElement) SetRev

func (_this *HTMLAnchorElement) SetRev(value string)

SetRev setting attribute 'rev' with type string (idl: DOMString).

func (*HTMLAnchorElement) SetSearch

func (_this *HTMLAnchorElement) SetSearch(value string)

SetSearch setting attribute 'search' with type string (idl: USVString).

func (*HTMLAnchorElement) SetShape

func (_this *HTMLAnchorElement) SetShape(value string)

SetShape setting attribute 'shape' with type string (idl: DOMString).

func (*HTMLAnchorElement) SetTarget

func (_this *HTMLAnchorElement) SetTarget(value string)

SetTarget setting attribute 'target' with type string (idl: DOMString).

func (*HTMLAnchorElement) SetText

func (_this *HTMLAnchorElement) SetText(value string)

SetText setting attribute 'text' with type string (idl: DOMString).

func (*HTMLAnchorElement) SetType

func (_this *HTMLAnchorElement) SetType(value string)

SetType setting attribute 'type' with type string (idl: DOMString).

func (*HTMLAnchorElement) SetUsername

func (_this *HTMLAnchorElement) SetUsername(value string)

SetUsername setting attribute 'username' with type string (idl: USVString).

func (*HTMLAnchorElement) Shape

func (_this *HTMLAnchorElement) Shape() string

Shape returning attribute 'shape' with type string (idl: DOMString).

func (*HTMLAnchorElement) Target

func (_this *HTMLAnchorElement) Target() string

Target returning attribute 'target' with type string (idl: DOMString).

func (*HTMLAnchorElement) Text

func (_this *HTMLAnchorElement) Text() string

Text returning attribute 'text' with type string (idl: DOMString).

func (*HTMLAnchorElement) ToString

func (_this *HTMLAnchorElement) ToString() string

ToString is an alias for Href.

func (*HTMLAnchorElement) Type

func (_this *HTMLAnchorElement) Type() string

Type returning attribute 'type' with type string (idl: DOMString).

func (*HTMLAnchorElement) Username

func (_this *HTMLAnchorElement) Username() string

Username returning attribute 'username' with type string (idl: USVString).

type HTMLAreaElement

type HTMLAreaElement struct {
	HTMLElement
}

class: HTMLAreaElement

func HTMLAreaElementFromJS

func HTMLAreaElementFromJS(value js.Wrapper) *HTMLAreaElement

HTMLAreaElementFromJS is casting a js.Wrapper into HTMLAreaElement.

func (*HTMLAreaElement) Alt

func (_this *HTMLAreaElement) Alt() string

Alt returning attribute 'alt' with type string (idl: DOMString).

func (*HTMLAreaElement) Coords

func (_this *HTMLAreaElement) Coords() string

Coords returning attribute 'coords' with type string (idl: DOMString).

func (*HTMLAreaElement) Download

func (_this *HTMLAreaElement) Download() string

Download returning attribute 'download' with type string (idl: DOMString).

func (*HTMLAreaElement) Hash

func (_this *HTMLAreaElement) Hash() string

Hash returning attribute 'hash' with type string (idl: USVString).

func (*HTMLAreaElement) Host

func (_this *HTMLAreaElement) Host() string

Host returning attribute 'host' with type string (idl: USVString).

func (*HTMLAreaElement) Hostname

func (_this *HTMLAreaElement) Hostname() string

Hostname returning attribute 'hostname' with type string (idl: USVString).

func (*HTMLAreaElement) Href

func (_this *HTMLAreaElement) Href() string

Href returning attribute 'href' with type string (idl: USVString).

func (*HTMLAreaElement) NoHref

func (_this *HTMLAreaElement) NoHref() bool

NoHref returning attribute 'noHref' with type bool (idl: boolean).

func (*HTMLAreaElement) Origin

func (_this *HTMLAreaElement) Origin() string

Origin returning attribute 'origin' with type string (idl: USVString).

func (*HTMLAreaElement) Password

func (_this *HTMLAreaElement) Password() string

Password returning attribute 'password' with type string (idl: USVString).

func (*HTMLAreaElement) Pathname

func (_this *HTMLAreaElement) Pathname() string

Pathname returning attribute 'pathname' with type string (idl: USVString).

func (*HTMLAreaElement) Ping

func (_this *HTMLAreaElement) Ping() string

Ping returning attribute 'ping' with type string (idl: USVString).

func (*HTMLAreaElement) Port

func (_this *HTMLAreaElement) Port() string

Port returning attribute 'port' with type string (idl: USVString).

func (*HTMLAreaElement) Protocol

func (_this *HTMLAreaElement) Protocol() string

Protocol returning attribute 'protocol' with type string (idl: USVString).

func (*HTMLAreaElement) ReferrerPolicy

func (_this *HTMLAreaElement) ReferrerPolicy() string

ReferrerPolicy returning attribute 'referrerPolicy' with type string (idl: DOMString).

func (*HTMLAreaElement) Rel

func (_this *HTMLAreaElement) Rel() string

Rel returning attribute 'rel' with type string (idl: DOMString).

func (*HTMLAreaElement) RelList

func (_this *HTMLAreaElement) RelList() *domcore.DOMTokenList

RelList returning attribute 'relList' with type domcore.DOMTokenList (idl: DOMTokenList).

func (*HTMLAreaElement) Search

func (_this *HTMLAreaElement) Search() string

Search returning attribute 'search' with type string (idl: USVString).

func (*HTMLAreaElement) SetAlt

func (_this *HTMLAreaElement) SetAlt(value string)

SetAlt setting attribute 'alt' with type string (idl: DOMString).

func (*HTMLAreaElement) SetCoords

func (_this *HTMLAreaElement) SetCoords(value string)

SetCoords setting attribute 'coords' with type string (idl: DOMString).

func (*HTMLAreaElement) SetDownload

func (_this *HTMLAreaElement) SetDownload(value string)

SetDownload setting attribute 'download' with type string (idl: DOMString).

func (*HTMLAreaElement) SetHash

func (_this *HTMLAreaElement) SetHash(value string)

SetHash setting attribute 'hash' with type string (idl: USVString).

func (*HTMLAreaElement) SetHost

func (_this *HTMLAreaElement) SetHost(value string)

SetHost setting attribute 'host' with type string (idl: USVString).

func (*HTMLAreaElement) SetHostname

func (_this *HTMLAreaElement) SetHostname(value string)

SetHostname setting attribute 'hostname' with type string (idl: USVString).

func (*HTMLAreaElement) SetHref

func (_this *HTMLAreaElement) SetHref(value string)

SetHref setting attribute 'href' with type string (idl: USVString).

func (*HTMLAreaElement) SetNoHref

func (_this *HTMLAreaElement) SetNoHref(value bool)

SetNoHref setting attribute 'noHref' with type bool (idl: boolean).

func (*HTMLAreaElement) SetPassword

func (_this *HTMLAreaElement) SetPassword(value string)

SetPassword setting attribute 'password' with type string (idl: USVString).

func (*HTMLAreaElement) SetPathname

func (_this *HTMLAreaElement) SetPathname(value string)

SetPathname setting attribute 'pathname' with type string (idl: USVString).

func (*HTMLAreaElement) SetPing

func (_this *HTMLAreaElement) SetPing(value string)

SetPing setting attribute 'ping' with type string (idl: USVString).

func (*HTMLAreaElement) SetPort

func (_this *HTMLAreaElement) SetPort(value string)

SetPort setting attribute 'port' with type string (idl: USVString).

func (*HTMLAreaElement) SetProtocol

func (_this *HTMLAreaElement) SetProtocol(value string)

SetProtocol setting attribute 'protocol' with type string (idl: USVString).

func (*HTMLAreaElement) SetReferrerPolicy

func (_this *HTMLAreaElement) SetReferrerPolicy(value string)

SetReferrerPolicy setting attribute 'referrerPolicy' with type string (idl: DOMString).

func (*HTMLAreaElement) SetRel

func (_this *HTMLAreaElement) SetRel(value string)

SetRel setting attribute 'rel' with type string (idl: DOMString).

func (*HTMLAreaElement) SetSearch

func (_this *HTMLAreaElement) SetSearch(value string)

SetSearch setting attribute 'search' with type string (idl: USVString).

func (*HTMLAreaElement) SetShape

func (_this *HTMLAreaElement) SetShape(value string)

SetShape setting attribute 'shape' with type string (idl: DOMString).

func (*HTMLAreaElement) SetTarget

func (_this *HTMLAreaElement) SetTarget(value string)

SetTarget setting attribute 'target' with type string (idl: DOMString).

func (*HTMLAreaElement) SetUsername

func (_this *HTMLAreaElement) SetUsername(value string)

SetUsername setting attribute 'username' with type string (idl: USVString).

func (*HTMLAreaElement) Shape

func (_this *HTMLAreaElement) Shape() string

Shape returning attribute 'shape' with type string (idl: DOMString).

func (*HTMLAreaElement) Target

func (_this *HTMLAreaElement) Target() string

Target returning attribute 'target' with type string (idl: DOMString).

func (*HTMLAreaElement) ToString

func (_this *HTMLAreaElement) ToString() string

ToString is an alias for Href.

func (*HTMLAreaElement) Username

func (_this *HTMLAreaElement) Username() string

Username returning attribute 'username' with type string (idl: USVString).

type HTMLBRElement

type HTMLBRElement struct {
	HTMLElement
}

class: HTMLBRElement

func HTMLBRElementFromJS

func HTMLBRElementFromJS(value js.Wrapper) *HTMLBRElement

HTMLBRElementFromJS is casting a js.Wrapper into HTMLBRElement.

func (*HTMLBRElement) Clear

func (_this *HTMLBRElement) Clear() string

Clear returning attribute 'clear' with type string (idl: DOMString).

func (*HTMLBRElement) SetClear

func (_this *HTMLBRElement) SetClear(value string)

SetClear setting attribute 'clear' with type string (idl: DOMString).

type HTMLBaseElement

type HTMLBaseElement struct {
	HTMLElement
}

class: HTMLBaseElement

func HTMLBaseElementFromJS

func HTMLBaseElementFromJS(value js.Wrapper) *HTMLBaseElement

HTMLBaseElementFromJS is casting a js.Wrapper into HTMLBaseElement.

func (*HTMLBaseElement) Href

func (_this *HTMLBaseElement) Href() string

Href returning attribute 'href' with type string (idl: USVString).

func (*HTMLBaseElement) SetHref

func (_this *HTMLBaseElement) SetHref(value string)

SetHref setting attribute 'href' with type string (idl: USVString).

func (*HTMLBaseElement) SetTarget

func (_this *HTMLBaseElement) SetTarget(value string)

SetTarget setting attribute 'target' with type string (idl: DOMString).

func (*HTMLBaseElement) Target

func (_this *HTMLBaseElement) Target() string

Target returning attribute 'target' with type string (idl: DOMString).

type HTMLBodyElement

type HTMLBodyElement struct {
	HTMLElement
}

class: HTMLBodyElement

func HTMLBodyElementFromJS

func HTMLBodyElementFromJS(value js.Wrapper) *HTMLBodyElement

HTMLBodyElementFromJS is casting a js.Wrapper into HTMLBodyElement.

func (_this *HTMLBodyElement) ALink() string

ALink returning attribute 'aLink' with type string (idl: DOMString).

func (*HTMLBodyElement) AddEventAfterPrint

func (_this *HTMLBodyElement) AddEventAfterPrint(listener func(event *domcore.Event, currentTarget *HTMLBodyElement)) js.Func

AddAfterPrint is adding doing AddEventListener for 'AfterPrint' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLBodyElement) AddEventBeforePrint

func (_this *HTMLBodyElement) AddEventBeforePrint(listener func(event *domcore.Event, currentTarget *HTMLBodyElement)) js.Func

AddBeforePrint is adding doing AddEventListener for 'BeforePrint' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLBodyElement) AddEventBeforeUnload

func (_this *HTMLBodyElement) AddEventBeforeUnload(listener func(event *htmlcommon.BeforeUnloadEvent, currentTarget *HTMLBodyElement)) js.Func

AddBeforeUnload is adding doing AddEventListener for 'BeforeUnload' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLBodyElement) AddEventHashChange

func (_this *HTMLBodyElement) AddEventHashChange(listener func(event *htmlevent.HashChangeEvent, currentTarget *HTMLBodyElement)) js.Func

AddHashChange is adding doing AddEventListener for 'HashChange' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLBodyElement) AddEventLanguageChange

func (_this *HTMLBodyElement) AddEventLanguageChange(listener func(event *domcore.Event, currentTarget *HTMLBodyElement)) js.Func

AddLanguageChange is adding doing AddEventListener for 'LanguageChange' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLBodyElement) AddEventMessage

func (_this *HTMLBodyElement) AddEventMessage(listener func(event *channel.MessageEvent, currentTarget *HTMLBodyElement)) js.Func

AddMessage is adding doing AddEventListener for 'Message' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLBodyElement) AddEventMessageError

func (_this *HTMLBodyElement) AddEventMessageError(listener func(event *channel.MessageEvent, currentTarget *HTMLBodyElement)) js.Func

AddMessageError is adding doing AddEventListener for 'MessageError' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLBodyElement) AddEventOffline

func (_this *HTMLBodyElement) AddEventOffline(listener func(event *domcore.Event, currentTarget *HTMLBodyElement)) js.Func

AddOffline is adding doing AddEventListener for 'Offline' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLBodyElement) AddEventOnline

func (_this *HTMLBodyElement) AddEventOnline(listener func(event *domcore.Event, currentTarget *HTMLBodyElement)) js.Func

AddOnline is adding doing AddEventListener for 'Online' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLBodyElement) AddEventOrientationChange

func (_this *HTMLBodyElement) AddEventOrientationChange(listener func(event *domcore.Event, currentTarget *HTMLBodyElement)) js.Func

AddOrientationChange is adding doing AddEventListener for 'OrientationChange' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLBodyElement) AddEventPageHide

func (_this *HTMLBodyElement) AddEventPageHide(listener func(event *htmlevent.PageTransitionEvent, currentTarget *HTMLBodyElement)) js.Func

AddPageHide is adding doing AddEventListener for 'PageHide' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLBodyElement) AddEventPageShow

func (_this *HTMLBodyElement) AddEventPageShow(listener func(event *htmlevent.PageTransitionEvent, currentTarget *HTMLBodyElement)) js.Func

AddPageShow is adding doing AddEventListener for 'PageShow' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLBodyElement) AddEventPopState

func (_this *HTMLBodyElement) AddEventPopState(listener func(event *htmlevent.PopStateEvent, currentTarget *HTMLBodyElement)) js.Func

AddPopState is adding doing AddEventListener for 'PopState' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLBodyElement) AddEventRejectionHandled

func (_this *HTMLBodyElement) AddEventRejectionHandled(listener func(event *htmlevent.PromiseRejectionEvent, currentTarget *HTMLBodyElement)) js.Func

AddRejectionHandled is adding doing AddEventListener for 'RejectionHandled' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLBodyElement) AddEventStorage

func (_this *HTMLBodyElement) AddEventStorage(listener func(event *htmlevent.StorageEvent, currentTarget *HTMLBodyElement)) js.Func

AddStorage is adding doing AddEventListener for 'Storage' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLBodyElement) AddEventUnhandledRejection

func (_this *HTMLBodyElement) AddEventUnhandledRejection(listener func(event *htmlevent.PromiseRejectionEvent, currentTarget *HTMLBodyElement)) js.Func

AddUnhandledRejection is adding doing AddEventListener for 'UnhandledRejection' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLBodyElement) AddEventUnload

func (_this *HTMLBodyElement) AddEventUnload(listener func(event *domcore.Event, currentTarget *HTMLBodyElement)) js.Func

AddUnload is adding doing AddEventListener for 'Unload' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLBodyElement) Background

func (_this *HTMLBodyElement) Background() string

Background returning attribute 'background' with type string (idl: DOMString).

func (*HTMLBodyElement) BgColor

func (_this *HTMLBodyElement) BgColor() string

BgColor returning attribute 'bgColor' with type string (idl: DOMString).

func (_this *HTMLBodyElement) Link() string

Link returning attribute 'link' with type string (idl: DOMString).

func (*HTMLBodyElement) OnAfterPrint

func (_this *HTMLBodyElement) OnAfterPrint() domcore.EventHandlerFunc

OnAfterPrint returning attribute 'onafterprint' with type domcore.EventHandler (idl: EventHandlerNonNull).

func (*HTMLBodyElement) OnBeforePrint

func (_this *HTMLBodyElement) OnBeforePrint() domcore.EventHandlerFunc

OnBeforePrint returning attribute 'onbeforeprint' with type domcore.EventHandler (idl: EventHandlerNonNull).

func (*HTMLBodyElement) OnBeforeUnload

OnBeforeUnload returning attribute 'onbeforeunload' with type htmlcommon.OnBeforeUnloadEventHandler (idl: OnBeforeUnloadEventHandlerNonNull).

func (*HTMLBodyElement) OnHashChange

func (_this *HTMLBodyElement) OnHashChange() domcore.EventHandlerFunc

OnHashChange returning attribute 'onhashchange' with type domcore.EventHandler (idl: EventHandlerNonNull).

func (*HTMLBodyElement) OnLanguageChange

func (_this *HTMLBodyElement) OnLanguageChange() domcore.EventHandlerFunc

OnLanguageChange returning attribute 'onlanguagechange' with type domcore.EventHandler (idl: EventHandlerNonNull).

func (*HTMLBodyElement) OnMessage

func (_this *HTMLBodyElement) OnMessage() domcore.EventHandlerFunc

OnMessage returning attribute 'onmessage' with type domcore.EventHandler (idl: EventHandlerNonNull).

func (*HTMLBodyElement) OnMessageError

func (_this *HTMLBodyElement) OnMessageError() domcore.EventHandlerFunc

OnMessageError returning attribute 'onmessageerror' with type domcore.EventHandler (idl: EventHandlerNonNull).

func (*HTMLBodyElement) OnOffline

func (_this *HTMLBodyElement) OnOffline() domcore.EventHandlerFunc

OnOffline returning attribute 'onoffline' with type domcore.EventHandler (idl: EventHandlerNonNull).

func (*HTMLBodyElement) OnOnline

func (_this *HTMLBodyElement) OnOnline() domcore.EventHandlerFunc

OnOnline returning attribute 'ononline' with type domcore.EventHandler (idl: EventHandlerNonNull).

func (*HTMLBodyElement) OnOrientationChange

func (_this *HTMLBodyElement) OnOrientationChange() domcore.EventHandlerFunc

OnOrientationChange returning attribute 'onorientationchange' with type domcore.EventHandler (idl: EventHandlerNonNull).

func (*HTMLBodyElement) OnPageHide

func (_this *HTMLBodyElement) OnPageHide() domcore.EventHandlerFunc

OnPageHide returning attribute 'onpagehide' with type domcore.EventHandler (idl: EventHandlerNonNull).

func (*HTMLBodyElement) OnPageShow

func (_this *HTMLBodyElement) OnPageShow() domcore.EventHandlerFunc

OnPageShow returning attribute 'onpageshow' with type domcore.EventHandler (idl: EventHandlerNonNull).

func (*HTMLBodyElement) OnPopState

func (_this *HTMLBodyElement) OnPopState() domcore.EventHandlerFunc

OnPopState returning attribute 'onpopstate' with type domcore.EventHandler (idl: EventHandlerNonNull).

func (*HTMLBodyElement) OnRejectionHandled

func (_this *HTMLBodyElement) OnRejectionHandled() domcore.EventHandlerFunc

OnRejectionHandled returning attribute 'onrejectionhandled' with type domcore.EventHandler (idl: EventHandlerNonNull).

func (*HTMLBodyElement) OnStorage

func (_this *HTMLBodyElement) OnStorage() domcore.EventHandlerFunc

OnStorage returning attribute 'onstorage' with type domcore.EventHandler (idl: EventHandlerNonNull).

func (*HTMLBodyElement) OnUnhandledRejection

func (_this *HTMLBodyElement) OnUnhandledRejection() domcore.EventHandlerFunc

OnUnhandledRejection returning attribute 'onunhandledrejection' with type domcore.EventHandler (idl: EventHandlerNonNull).

func (*HTMLBodyElement) OnUnload

func (_this *HTMLBodyElement) OnUnload() domcore.EventHandlerFunc

OnUnload returning attribute 'onunload' with type domcore.EventHandler (idl: EventHandlerNonNull).

func (_this *HTMLBodyElement) SetALink(value string)

SetALink setting attribute 'aLink' with type string (idl: DOMString).

func (*HTMLBodyElement) SetBackground

func (_this *HTMLBodyElement) SetBackground(value string)

SetBackground setting attribute 'background' with type string (idl: DOMString).

func (*HTMLBodyElement) SetBgColor

func (_this *HTMLBodyElement) SetBgColor(value string)

SetBgColor setting attribute 'bgColor' with type string (idl: DOMString).

func (_this *HTMLBodyElement) SetLink(value string)

SetLink setting attribute 'link' with type string (idl: DOMString).

func (*HTMLBodyElement) SetOnAfterPrint

func (_this *HTMLBodyElement) SetOnAfterPrint(listener func(event *domcore.Event, currentTarget *HTMLBodyElement)) js.Func

SetOnAfterPrint is assigning a function to 'onafterprint'. This This method is returning allocated javascript function that need to be released.

func (*HTMLBodyElement) SetOnBeforePrint

func (_this *HTMLBodyElement) SetOnBeforePrint(listener func(event *domcore.Event, currentTarget *HTMLBodyElement)) js.Func

SetOnBeforePrint is assigning a function to 'onbeforeprint'. This This method is returning allocated javascript function that need to be released.

func (*HTMLBodyElement) SetOnBeforeUnload

func (_this *HTMLBodyElement) SetOnBeforeUnload(listener func(event *htmlcommon.BeforeUnloadEvent, currentTarget *HTMLBodyElement)) js.Func

SetOnBeforeUnload is assigning a function to 'onbeforeunload'. This This method is returning allocated javascript function that need to be released.

func (*HTMLBodyElement) SetOnHashChange

func (_this *HTMLBodyElement) SetOnHashChange(listener func(event *htmlevent.HashChangeEvent, currentTarget *HTMLBodyElement)) js.Func

SetOnHashChange is assigning a function to 'onhashchange'. This This method is returning allocated javascript function that need to be released.

func (*HTMLBodyElement) SetOnLanguageChange

func (_this *HTMLBodyElement) SetOnLanguageChange(listener func(event *domcore.Event, currentTarget *HTMLBodyElement)) js.Func

SetOnLanguageChange is assigning a function to 'onlanguagechange'. This This method is returning allocated javascript function that need to be released.

func (*HTMLBodyElement) SetOnMessage

func (_this *HTMLBodyElement) SetOnMessage(listener func(event *channel.MessageEvent, currentTarget *HTMLBodyElement)) js.Func

SetOnMessage is assigning a function to 'onmessage'. This This method is returning allocated javascript function that need to be released.

func (*HTMLBodyElement) SetOnMessageError

func (_this *HTMLBodyElement) SetOnMessageError(listener func(event *channel.MessageEvent, currentTarget *HTMLBodyElement)) js.Func

SetOnMessageError is assigning a function to 'onmessageerror'. This This method is returning allocated javascript function that need to be released.

func (*HTMLBodyElement) SetOnOffline

func (_this *HTMLBodyElement) SetOnOffline(listener func(event *domcore.Event, currentTarget *HTMLBodyElement)) js.Func

SetOnOffline is assigning a function to 'onoffline'. This This method is returning allocated javascript function that need to be released.

func (*HTMLBodyElement) SetOnOnline

func (_this *HTMLBodyElement) SetOnOnline(listener func(event *domcore.Event, currentTarget *HTMLBodyElement)) js.Func

SetOnOnline is assigning a function to 'ononline'. This This method is returning allocated javascript function that need to be released.

func (*HTMLBodyElement) SetOnOrientationChange

func (_this *HTMLBodyElement) SetOnOrientationChange(listener func(event *domcore.Event, currentTarget *HTMLBodyElement)) js.Func

SetOnOrientationChange is assigning a function to 'onorientationchange'. This This method is returning allocated javascript function that need to be released.

func (*HTMLBodyElement) SetOnPageHide

func (_this *HTMLBodyElement) SetOnPageHide(listener func(event *htmlevent.PageTransitionEvent, currentTarget *HTMLBodyElement)) js.Func

SetOnPageHide is assigning a function to 'onpagehide'. This This method is returning allocated javascript function that need to be released.

func (*HTMLBodyElement) SetOnPageShow

func (_this *HTMLBodyElement) SetOnPageShow(listener func(event *htmlevent.PageTransitionEvent, currentTarget *HTMLBodyElement)) js.Func

SetOnPageShow is assigning a function to 'onpageshow'. This This method is returning allocated javascript function that need to be released.

func (*HTMLBodyElement) SetOnPopState

func (_this *HTMLBodyElement) SetOnPopState(listener func(event *htmlevent.PopStateEvent, currentTarget *HTMLBodyElement)) js.Func

SetOnPopState is assigning a function to 'onpopstate'. This This method is returning allocated javascript function that need to be released.

func (*HTMLBodyElement) SetOnRejectionHandled

func (_this *HTMLBodyElement) SetOnRejectionHandled(listener func(event *htmlevent.PromiseRejectionEvent, currentTarget *HTMLBodyElement)) js.Func

SetOnRejectionHandled is assigning a function to 'onrejectionhandled'. This This method is returning allocated javascript function that need to be released.

func (*HTMLBodyElement) SetOnStorage

func (_this *HTMLBodyElement) SetOnStorage(listener func(event *htmlevent.StorageEvent, currentTarget *HTMLBodyElement)) js.Func

SetOnStorage is assigning a function to 'onstorage'. This This method is returning allocated javascript function that need to be released.

func (*HTMLBodyElement) SetOnUnhandledRejection

func (_this *HTMLBodyElement) SetOnUnhandledRejection(listener func(event *htmlevent.PromiseRejectionEvent, currentTarget *HTMLBodyElement)) js.Func

SetOnUnhandledRejection is assigning a function to 'onunhandledrejection'. This This method is returning allocated javascript function that need to be released.

func (*HTMLBodyElement) SetOnUnload

func (_this *HTMLBodyElement) SetOnUnload(listener func(event *domcore.Event, currentTarget *HTMLBodyElement)) js.Func

SetOnUnload is assigning a function to 'onunload'. This This method is returning allocated javascript function that need to be released.

func (*HTMLBodyElement) SetText

func (_this *HTMLBodyElement) SetText(value string)

SetText setting attribute 'text' with type string (idl: DOMString).

func (_this *HTMLBodyElement) SetVLink(value string)

SetVLink setting attribute 'vLink' with type string (idl: DOMString).

func (*HTMLBodyElement) Text

func (_this *HTMLBodyElement) Text() string

Text returning attribute 'text' with type string (idl: DOMString).

func (_this *HTMLBodyElement) VLink() string

VLink returning attribute 'vLink' with type string (idl: DOMString).

type HTMLButtonElement

type HTMLButtonElement struct {
	HTMLElement
}

class: HTMLButtonElement

func HTMLButtonElementFromJS

func HTMLButtonElementFromJS(value js.Wrapper) *HTMLButtonElement

HTMLButtonElementFromJS is casting a js.Wrapper into HTMLButtonElement.

func (*HTMLButtonElement) Autofocus

func (_this *HTMLButtonElement) Autofocus() bool

Autofocus returning attribute 'autofocus' with type bool (idl: boolean).

func (*HTMLButtonElement) CheckValidity

func (_this *HTMLButtonElement) CheckValidity() (_result bool)

func (*HTMLButtonElement) Disabled

func (_this *HTMLButtonElement) Disabled() bool

Disabled returning attribute 'disabled' with type bool (idl: boolean).

func (*HTMLButtonElement) Form

func (_this *HTMLButtonElement) Form() *HTMLFormElement

Form returning attribute 'form' with type HTMLFormElement (idl: HTMLFormElement).

func (*HTMLButtonElement) FormAction

func (_this *HTMLButtonElement) FormAction() string

FormAction returning attribute 'formAction' with type string (idl: USVString).

func (*HTMLButtonElement) FormEnctype

func (_this *HTMLButtonElement) FormEnctype() string

FormEnctype returning attribute 'formEnctype' with type string (idl: DOMString).

func (*HTMLButtonElement) FormMethod

func (_this *HTMLButtonElement) FormMethod() string

FormMethod returning attribute 'formMethod' with type string (idl: DOMString).

func (*HTMLButtonElement) FormNoValidate

func (_this *HTMLButtonElement) FormNoValidate() bool

FormNoValidate returning attribute 'formNoValidate' with type bool (idl: boolean).

func (*HTMLButtonElement) FormTarget

func (_this *HTMLButtonElement) FormTarget() string

FormTarget returning attribute 'formTarget' with type string (idl: DOMString).

func (*HTMLButtonElement) Labels

func (_this *HTMLButtonElement) Labels() *dom.NodeList

Labels returning attribute 'labels' with type dom.NodeList (idl: NodeList).

func (*HTMLButtonElement) Name

func (_this *HTMLButtonElement) Name() string

Name returning attribute 'name' with type string (idl: DOMString).

func (*HTMLButtonElement) ReportValidity

func (_this *HTMLButtonElement) ReportValidity() (_result bool)

func (*HTMLButtonElement) SetAutofocus

func (_this *HTMLButtonElement) SetAutofocus(value bool)

SetAutofocus setting attribute 'autofocus' with type bool (idl: boolean).

func (*HTMLButtonElement) SetCustomValidity

func (_this *HTMLButtonElement) SetCustomValidity(_error string)

func (*HTMLButtonElement) SetDisabled

func (_this *HTMLButtonElement) SetDisabled(value bool)

SetDisabled setting attribute 'disabled' with type bool (idl: boolean).

func (*HTMLButtonElement) SetFormAction

func (_this *HTMLButtonElement) SetFormAction(value string)

SetFormAction setting attribute 'formAction' with type string (idl: USVString).

func (*HTMLButtonElement) SetFormEnctype

func (_this *HTMLButtonElement) SetFormEnctype(value string)

SetFormEnctype setting attribute 'formEnctype' with type string (idl: DOMString).

func (*HTMLButtonElement) SetFormMethod

func (_this *HTMLButtonElement) SetFormMethod(value string)

SetFormMethod setting attribute 'formMethod' with type string (idl: DOMString).

func (*HTMLButtonElement) SetFormNoValidate

func (_this *HTMLButtonElement) SetFormNoValidate(value bool)

SetFormNoValidate setting attribute 'formNoValidate' with type bool (idl: boolean).

func (*HTMLButtonElement) SetFormTarget

func (_this *HTMLButtonElement) SetFormTarget(value string)

SetFormTarget setting attribute 'formTarget' with type string (idl: DOMString).

func (*HTMLButtonElement) SetName

func (_this *HTMLButtonElement) SetName(value string)

SetName setting attribute 'name' with type string (idl: DOMString).

func (*HTMLButtonElement) SetType

func (_this *HTMLButtonElement) SetType(value string)

SetType setting attribute 'type' with type string (idl: DOMString).

func (*HTMLButtonElement) SetValue

func (_this *HTMLButtonElement) SetValue(value string)

SetValue setting attribute 'value' with type string (idl: DOMString).

func (*HTMLButtonElement) Type

func (_this *HTMLButtonElement) Type() string

Type returning attribute 'type' with type string (idl: DOMString).

func (*HTMLButtonElement) ValidationMessage

func (_this *HTMLButtonElement) ValidationMessage() string

ValidationMessage returning attribute 'validationMessage' with type string (idl: DOMString).

func (*HTMLButtonElement) Validity

func (_this *HTMLButtonElement) Validity() *ValidityState

Validity returning attribute 'validity' with type ValidityState (idl: ValidityState).

func (*HTMLButtonElement) Value

func (_this *HTMLButtonElement) Value() string

Value returning attribute 'value' with type string (idl: DOMString).

func (*HTMLButtonElement) WillValidate

func (_this *HTMLButtonElement) WillValidate() bool

WillValidate returning attribute 'willValidate' with type bool (idl: boolean).

type HTMLDListElement

type HTMLDListElement struct {
	HTMLElement
}

class: HTMLDListElement

func HTMLDListElementFromJS

func HTMLDListElementFromJS(value js.Wrapper) *HTMLDListElement

HTMLDListElementFromJS is casting a js.Wrapper into HTMLDListElement.

func (*HTMLDListElement) Compact

func (_this *HTMLDListElement) Compact() bool

Compact returning attribute 'compact' with type bool (idl: boolean).

func (*HTMLDListElement) SetCompact

func (_this *HTMLDListElement) SetCompact(value bool)

SetCompact setting attribute 'compact' with type bool (idl: boolean).

type HTMLDataElement

type HTMLDataElement struct {
	HTMLElement
}

class: HTMLDataElement

func HTMLDataElementFromJS

func HTMLDataElementFromJS(value js.Wrapper) *HTMLDataElement

HTMLDataElementFromJS is casting a js.Wrapper into HTMLDataElement.

func (*HTMLDataElement) SetValue

func (_this *HTMLDataElement) SetValue(value string)

SetValue setting attribute 'value' with type string (idl: DOMString).

func (*HTMLDataElement) Value

func (_this *HTMLDataElement) Value() string

Value returning attribute 'value' with type string (idl: DOMString).

type HTMLDataListElement

type HTMLDataListElement struct {
	HTMLElement
}

class: HTMLDataListElement

func HTMLDataListElementFromJS

func HTMLDataListElementFromJS(value js.Wrapper) *HTMLDataListElement

HTMLDataListElementFromJS is casting a js.Wrapper into HTMLDataListElement.

func (*HTMLDataListElement) Options

func (_this *HTMLDataListElement) Options() *dom.HTMLCollection

Options returning attribute 'options' with type dom.HTMLCollection (idl: HTMLCollection).

type HTMLDetailsElement

type HTMLDetailsElement struct {
	HTMLElement
}

class: HTMLDetailsElement

func HTMLDetailsElementFromJS

func HTMLDetailsElementFromJS(value js.Wrapper) *HTMLDetailsElement

HTMLDetailsElementFromJS is casting a js.Wrapper into HTMLDetailsElement.

func (*HTMLDetailsElement) Open

func (_this *HTMLDetailsElement) Open() bool

Open returning attribute 'open' with type bool (idl: boolean).

func (*HTMLDetailsElement) SetOpen

func (_this *HTMLDetailsElement) SetOpen(value bool)

SetOpen setting attribute 'open' with type bool (idl: boolean).

type HTMLDialogElement

type HTMLDialogElement struct {
	HTMLElement
}

class: HTMLDialogElement

func HTMLDialogElementFromJS

func HTMLDialogElementFromJS(value js.Wrapper) *HTMLDialogElement

HTMLDialogElementFromJS is casting a js.Wrapper into HTMLDialogElement.

func (*HTMLDialogElement) Close

func (_this *HTMLDialogElement) Close(returnValue *string)

func (*HTMLDialogElement) Open

func (_this *HTMLDialogElement) Open() bool

Open returning attribute 'open' with type bool (idl: boolean).

func (*HTMLDialogElement) ReturnValue

func (_this *HTMLDialogElement) ReturnValue() string

ReturnValue returning attribute 'returnValue' with type string (idl: DOMString).

func (*HTMLDialogElement) SetOpen

func (_this *HTMLDialogElement) SetOpen(value bool)

SetOpen setting attribute 'open' with type bool (idl: boolean).

func (*HTMLDialogElement) SetReturnValue

func (_this *HTMLDialogElement) SetReturnValue(value string)

SetReturnValue setting attribute 'returnValue' with type string (idl: DOMString).

func (*HTMLDialogElement) Show

func (_this *HTMLDialogElement) Show()

func (*HTMLDialogElement) ShowModal

func (_this *HTMLDialogElement) ShowModal()

type HTMLDirectoryElement

type HTMLDirectoryElement struct {
	HTMLElement
}

class: HTMLDirectoryElement

func HTMLDirectoryElementFromJS

func HTMLDirectoryElementFromJS(value js.Wrapper) *HTMLDirectoryElement

HTMLDirectoryElementFromJS is casting a js.Wrapper into HTMLDirectoryElement.

func (*HTMLDirectoryElement) Compact

func (_this *HTMLDirectoryElement) Compact() bool

Compact returning attribute 'compact' with type bool (idl: boolean).

func (*HTMLDirectoryElement) SetCompact

func (_this *HTMLDirectoryElement) SetCompact(value bool)

SetCompact setting attribute 'compact' with type bool (idl: boolean).

type HTMLDivElement

type HTMLDivElement struct {
	HTMLElement
}

class: HTMLDivElement

func HTMLDivElementFromJS

func HTMLDivElementFromJS(value js.Wrapper) *HTMLDivElement

HTMLDivElementFromJS is casting a js.Wrapper into HTMLDivElement.

func (*HTMLDivElement) Align

func (_this *HTMLDivElement) Align() string

Align returning attribute 'align' with type string (idl: DOMString).

func (*HTMLDivElement) SetAlign

func (_this *HTMLDivElement) SetAlign(value string)

SetAlign setting attribute 'align' with type string (idl: DOMString).

type HTMLElement

type HTMLElement struct {
	dom.Element
}

class: HTMLElement

func HTMLElementFromJS

func HTMLElementFromJS(value js.Wrapper) *HTMLElement

HTMLElementFromJS is casting a js.Wrapper into HTMLElement.

func (*HTMLElement) AccessKey

func (_this *HTMLElement) AccessKey() string

AccessKey returning attribute 'accessKey' with type string (idl: DOMString).

func (*HTMLElement) AccessKeyLabel

func (_this *HTMLElement) AccessKeyLabel() string

AccessKeyLabel returning attribute 'accessKeyLabel' with type string (idl: DOMString).

func (*HTMLElement) AddEventAbort

func (_this *HTMLElement) AddEventAbort(listener func(event *domcore.Event, currentTarget *HTMLElement)) js.Func

AddAbort is adding doing AddEventListener for 'Abort' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLElement) AddEventAnimationCancel

func (_this *HTMLElement) AddEventAnimationCancel(listener func(event *animations.AnimationEvent, currentTarget *HTMLElement)) js.Func

AddAnimationCancel is adding doing AddEventListener for 'AnimationCancel' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLElement) AddEventAnimationEnd

func (_this *HTMLElement) AddEventAnimationEnd(listener func(event *animations.AnimationEvent, currentTarget *HTMLElement)) js.Func

AddAnimationEnd is adding doing AddEventListener for 'AnimationEnd' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLElement) AddEventAnimationIteration

func (_this *HTMLElement) AddEventAnimationIteration(listener func(event *animations.AnimationEvent, currentTarget *HTMLElement)) js.Func

AddAnimationIteration is adding doing AddEventListener for 'AnimationIteration' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLElement) AddEventAnimationStart

func (_this *HTMLElement) AddEventAnimationStart(listener func(event *animations.AnimationEvent, currentTarget *HTMLElement)) js.Func

AddAnimationStart is adding doing AddEventListener for 'AnimationStart' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLElement) AddEventAuxclick

func (_this *HTMLElement) AddEventAuxclick(listener func(event *htmlevent.MouseEvent, currentTarget *HTMLElement)) js.Func

AddAuxclick is adding doing AddEventListener for 'Auxclick' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLElement) AddEventBlur

func (_this *HTMLElement) AddEventBlur(listener func(event *htmlevent.FocusEvent, currentTarget *HTMLElement)) js.Func

AddBlur is adding doing AddEventListener for 'Blur' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLElement) AddEventCanPlay

func (_this *HTMLElement) AddEventCanPlay(listener func(event *domcore.Event, currentTarget *HTMLElement)) js.Func

AddCanPlay is adding doing AddEventListener for 'CanPlay' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLElement) AddEventCanPlayThrough

func (_this *HTMLElement) AddEventCanPlayThrough(listener func(event *domcore.Event, currentTarget *HTMLElement)) js.Func

AddCanPlayThrough is adding doing AddEventListener for 'CanPlayThrough' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLElement) AddEventCancel

func (_this *HTMLElement) AddEventCancel(listener func(event *domcore.Event, currentTarget *HTMLElement)) js.Func

AddCancel is adding doing AddEventListener for 'Cancel' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLElement) AddEventChange

func (_this *HTMLElement) AddEventChange(listener func(event *domcore.Event, currentTarget *HTMLElement)) js.Func

AddChange is adding doing AddEventListener for 'Change' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLElement) AddEventClick

func (_this *HTMLElement) AddEventClick(listener func(event *htmlevent.MouseEvent, currentTarget *HTMLElement)) js.Func

AddClick is adding doing AddEventListener for 'Click' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLElement) AddEventClose

func (_this *HTMLElement) AddEventClose(listener func(event *domcore.Event, currentTarget *HTMLElement)) js.Func

AddClose is adding doing AddEventListener for 'Close' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLElement) AddEventContextMenu

func (_this *HTMLElement) AddEventContextMenu(listener func(event *htmlevent.MouseEvent, currentTarget *HTMLElement)) js.Func

AddContextMenu is adding doing AddEventListener for 'ContextMenu' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLElement) AddEventCopy

func (_this *HTMLElement) AddEventCopy(listener func(event *clipboard.ClipboardEvent, currentTarget *HTMLElement)) js.Func

AddCopy is adding doing AddEventListener for 'Copy' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLElement) AddEventCueChange

func (_this *HTMLElement) AddEventCueChange(listener func(event *domcore.Event, currentTarget *HTMLElement)) js.Func

AddCueChange is adding doing AddEventListener for 'CueChange' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLElement) AddEventCut

func (_this *HTMLElement) AddEventCut(listener func(event *clipboard.ClipboardEvent, currentTarget *HTMLElement)) js.Func

AddCut is adding doing AddEventListener for 'Cut' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLElement) AddEventDblClick

func (_this *HTMLElement) AddEventDblClick(listener func(event *htmlevent.MouseEvent, currentTarget *HTMLElement)) js.Func

AddDblClick is adding doing AddEventListener for 'DblClick' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLElement) AddEventDrag

func (_this *HTMLElement) AddEventDrag(listener func(event *htmlevent.DragEvent, currentTarget *HTMLElement)) js.Func

AddDrag is adding doing AddEventListener for 'Drag' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLElement) AddEventDragEnd

func (_this *HTMLElement) AddEventDragEnd(listener func(event *htmlevent.DragEvent, currentTarget *HTMLElement)) js.Func

AddDragEnd is adding doing AddEventListener for 'DragEnd' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLElement) AddEventDragEnter

func (_this *HTMLElement) AddEventDragEnter(listener func(event *htmlevent.DragEvent, currentTarget *HTMLElement)) js.Func

AddDragEnter is adding doing AddEventListener for 'DragEnter' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLElement) AddEventDragExit

func (_this *HTMLElement) AddEventDragExit(listener func(event *htmlevent.DragEvent, currentTarget *HTMLElement)) js.Func

AddDragExit is adding doing AddEventListener for 'DragExit' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLElement) AddEventDragLeave

func (_this *HTMLElement) AddEventDragLeave(listener func(event *htmlevent.DragEvent, currentTarget *HTMLElement)) js.Func

AddDragLeave is adding doing AddEventListener for 'DragLeave' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLElement) AddEventDragOver

func (_this *HTMLElement) AddEventDragOver(listener func(event *htmlevent.DragEvent, currentTarget *HTMLElement)) js.Func

AddDragOver is adding doing AddEventListener for 'DragOver' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLElement) AddEventDragStart

func (_this *HTMLElement) AddEventDragStart(listener func(event *htmlevent.DragEvent, currentTarget *HTMLElement)) js.Func

AddDragStart is adding doing AddEventListener for 'DragStart' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLElement) AddEventDrop

func (_this *HTMLElement) AddEventDrop(listener func(event *htmlevent.DragEvent, currentTarget *HTMLElement)) js.Func

AddDrop is adding doing AddEventListener for 'Drop' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLElement) AddEventDurationChange

func (_this *HTMLElement) AddEventDurationChange(listener func(event *domcore.Event, currentTarget *HTMLElement)) js.Func

AddDurationChange is adding doing AddEventListener for 'DurationChange' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLElement) AddEventEmptied

func (_this *HTMLElement) AddEventEmptied(listener func(event *domcore.Event, currentTarget *HTMLElement)) js.Func

AddEmptied is adding doing AddEventListener for 'Emptied' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLElement) AddEventEnded

func (_this *HTMLElement) AddEventEnded(listener func(event *domcore.Event, currentTarget *HTMLElement)) js.Func

AddEnded is adding doing AddEventListener for 'Ended' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLElement) AddEventError

func (_this *HTMLElement) AddEventError(listener func(event *domcore.Event, currentTarget *HTMLElement)) js.Func

AddError is adding doing AddEventListener for 'Error' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLElement) AddEventFocus

func (_this *HTMLElement) AddEventFocus(listener func(event *htmlevent.FocusEvent, currentTarget *HTMLElement)) js.Func

AddFocus is adding doing AddEventListener for 'Focus' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLElement) AddEventFormData

func (_this *HTMLElement) AddEventFormData(listener func(event *FormDataEvent, currentTarget *HTMLElement)) js.Func

AddFormData is adding doing AddEventListener for 'FormData' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLElement) AddEventGotPointerCapture

func (_this *HTMLElement) AddEventGotPointerCapture(listener func(event *htmlevent.PointerEvent, currentTarget *HTMLElement)) js.Func

AddGotPointerCapture is adding doing AddEventListener for 'GotPointerCapture' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLElement) AddEventInput

func (_this *HTMLElement) AddEventInput(listener func(event *htmlevent.InputEvent, currentTarget *HTMLElement)) js.Func

AddInput is adding doing AddEventListener for 'Input' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLElement) AddEventInvalid

func (_this *HTMLElement) AddEventInvalid(listener func(event *domcore.Event, currentTarget *HTMLElement)) js.Func

AddInvalid is adding doing AddEventListener for 'Invalid' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLElement) AddEventKeyDown

func (_this *HTMLElement) AddEventKeyDown(listener func(event *htmlevent.KeyboardEvent, currentTarget *HTMLElement)) js.Func

AddKeyDown is adding doing AddEventListener for 'KeyDown' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLElement) AddEventKeyPress

func (_this *HTMLElement) AddEventKeyPress(listener func(event *htmlevent.KeyboardEvent, currentTarget *HTMLElement)) js.Func

AddKeyPress is adding doing AddEventListener for 'KeyPress' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLElement) AddEventKeyUp

func (_this *HTMLElement) AddEventKeyUp(listener func(event *htmlevent.KeyboardEvent, currentTarget *HTMLElement)) js.Func

AddKeyUp is adding doing AddEventListener for 'KeyUp' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLElement) AddEventLoad

func (_this *HTMLElement) AddEventLoad(listener func(event *domcore.Event, currentTarget *HTMLElement)) js.Func

AddLoad is adding doing AddEventListener for 'Load' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLElement) AddEventLoadEnd

func (_this *HTMLElement) AddEventLoadEnd(listener func(event *xhr.ProgressEvent, currentTarget *HTMLElement)) js.Func

AddLoadEnd is adding doing AddEventListener for 'LoadEnd' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLElement) AddEventLoadStart

func (_this *HTMLElement) AddEventLoadStart(listener func(event *domcore.Event, currentTarget *HTMLElement)) js.Func

AddLoadStart is adding doing AddEventListener for 'LoadStart' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLElement) AddEventLoadedData

func (_this *HTMLElement) AddEventLoadedData(listener func(event *domcore.Event, currentTarget *HTMLElement)) js.Func

AddLoadedData is adding doing AddEventListener for 'LoadedData' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLElement) AddEventLoadedMetaData

func (_this *HTMLElement) AddEventLoadedMetaData(listener func(event *domcore.Event, currentTarget *HTMLElement)) js.Func

AddLoadedMetaData is adding doing AddEventListener for 'LoadedMetaData' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLElement) AddEventLostPointerCapture

func (_this *HTMLElement) AddEventLostPointerCapture(listener func(event *htmlevent.PointerEvent, currentTarget *HTMLElement)) js.Func

AddLostPointerCapture is adding doing AddEventListener for 'LostPointerCapture' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLElement) AddEventMouseDown

func (_this *HTMLElement) AddEventMouseDown(listener func(event *htmlevent.MouseEvent, currentTarget *HTMLElement)) js.Func

AddMouseDown is adding doing AddEventListener for 'MouseDown' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLElement) AddEventMouseEnter

func (_this *HTMLElement) AddEventMouseEnter(listener func(event *htmlevent.MouseEvent, currentTarget *HTMLElement)) js.Func

AddMouseEnter is adding doing AddEventListener for 'MouseEnter' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLElement) AddEventMouseLeave

func (_this *HTMLElement) AddEventMouseLeave(listener func(event *htmlevent.MouseEvent, currentTarget *HTMLElement)) js.Func

AddMouseLeave is adding doing AddEventListener for 'MouseLeave' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLElement) AddEventMouseMove

func (_this *HTMLElement) AddEventMouseMove(listener func(event *htmlevent.MouseEvent, currentTarget *HTMLElement)) js.Func

AddMouseMove is adding doing AddEventListener for 'MouseMove' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLElement) AddEventMouseOut

func (_this *HTMLElement) AddEventMouseOut(listener func(event *htmlevent.MouseEvent, currentTarget *HTMLElement)) js.Func

AddMouseOut is adding doing AddEventListener for 'MouseOut' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLElement) AddEventMouseOver

func (_this *HTMLElement) AddEventMouseOver(listener func(event *htmlevent.MouseEvent, currentTarget *HTMLElement)) js.Func

AddMouseOver is adding doing AddEventListener for 'MouseOver' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLElement) AddEventMouseUp

func (_this *HTMLElement) AddEventMouseUp(listener func(event *htmlevent.MouseEvent, currentTarget *HTMLElement)) js.Func

AddMouseUp is adding doing AddEventListener for 'MouseUp' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLElement) AddEventPaste

func (_this *HTMLElement) AddEventPaste(listener func(event *clipboard.ClipboardEvent, currentTarget *HTMLElement)) js.Func

AddPaste is adding doing AddEventListener for 'Paste' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLElement) AddEventPause

func (_this *HTMLElement) AddEventPause(listener func(event *domcore.Event, currentTarget *HTMLElement)) js.Func

AddPause is adding doing AddEventListener for 'Pause' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLElement) AddEventPlay

func (_this *HTMLElement) AddEventPlay(listener func(event *domcore.Event, currentTarget *HTMLElement)) js.Func

AddPlay is adding doing AddEventListener for 'Play' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLElement) AddEventPlaying

func (_this *HTMLElement) AddEventPlaying(listener func(event *domcore.Event, currentTarget *HTMLElement)) js.Func

AddPlaying is adding doing AddEventListener for 'Playing' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLElement) AddEventPointerCancel

func (_this *HTMLElement) AddEventPointerCancel(listener func(event *htmlevent.PointerEvent, currentTarget *HTMLElement)) js.Func

AddPointerCancel is adding doing AddEventListener for 'PointerCancel' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLElement) AddEventPointerDown

func (_this *HTMLElement) AddEventPointerDown(listener func(event *htmlevent.PointerEvent, currentTarget *HTMLElement)) js.Func

AddPointerDown is adding doing AddEventListener for 'PointerDown' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLElement) AddEventPointerEnter

func (_this *HTMLElement) AddEventPointerEnter(listener func(event *htmlevent.PointerEvent, currentTarget *HTMLElement)) js.Func

AddPointerEnter is adding doing AddEventListener for 'PointerEnter' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLElement) AddEventPointerLeave

func (_this *HTMLElement) AddEventPointerLeave(listener func(event *htmlevent.PointerEvent, currentTarget *HTMLElement)) js.Func

AddPointerLeave is adding doing AddEventListener for 'PointerLeave' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLElement) AddEventPointerMove

func (_this *HTMLElement) AddEventPointerMove(listener func(event *htmlevent.PointerEvent, currentTarget *HTMLElement)) js.Func

AddPointerMove is adding doing AddEventListener for 'PointerMove' on target. This method is returning allocated javascript function that need to be released.

func (*HTMLElement) AddEventPointerOut