dom

package
v0.0.0-...-5f762ee Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Rendered for js/wasm

Index

Constants

View Source
const (
	ScrollBehaviorSmooth  = "smooth"
	ScrollBehaviorInstant = "instant"
)

Variables

This section is empty.

Functions

func GetValue

func GetValue(el Element) string

func SetValue

func SetValue(el Element, value string)

Types

type AbstractRange

type AbstractRange interface {
	Collapsed() bool
	EndContainer() Node
	EndOffset() int
	StartContainer() Node
	StartOffset() int
}

type AddEventListenerOptions

type AddEventListenerOptions map[string]any

func (AddEventListenerOptions) SetCapture

func (options AddEventListenerOptions) SetCapture(capture bool) AddEventListenerOptions

func (AddEventListenerOptions) SetComposed

func (options AddEventListenerOptions) SetComposed(composed bool) AddEventListenerOptions

func (AddEventListenerOptions) SetPassive

func (options AddEventListenerOptions) SetPassive(passive bool) AddEventListenerOptions

func (AddEventListenerOptions) SetSignal

func (options AddEventListenerOptions) SetSignal(signal js.Value) AddEventListenerOptions

type AdjacentPosition

type AdjacentPosition string
const (
	PositionBeforeBegin AdjacentPosition = "beforebegin"
	PositionAfterBegin  AdjacentPosition = "afterbegin"
	PositionBeforeEnd   AdjacentPosition = "beforeend"
	PositionAfterEnd    AdjacentPosition = "afterend"
)

noinspection SpellCheckingInspection

type AttachShadowOptions

type AttachShadowOptions map[string]any

func (AttachShadowOptions) SetDelegateFocus

func (options AttachShadowOptions) SetDelegateFocus(focus bool) AttachShadowOptions

func (AttachShadowOptions) SetMode

func (options AttachShadowOptions) SetMode(s string) AttachShadowOptions

type CSSStyleDeclaration

type CSSStyleDeclaration js.Value

func (CSSStyleDeclaration) CSSText

func (val CSSStyleDeclaration) CSSText() string

func (CSSStyleDeclaration) GetPropertyPriority

func (val CSSStyleDeclaration) GetPropertyPriority(property string) string

func (CSSStyleDeclaration) GetPropertyValue

func (val CSSStyleDeclaration) GetPropertyValue(property string) string

func (CSSStyleDeclaration) Item

func (val CSSStyleDeclaration) Item(index int) string

func (CSSStyleDeclaration) Length

func (val CSSStyleDeclaration) Length() int

func (CSSStyleDeclaration) RemoveProperty

func (val CSSStyleDeclaration) RemoveProperty(property string)

func (CSSStyleDeclaration) SetCSSText

func (val CSSStyleDeclaration) SetCSSText(cssText string)

func (CSSStyleDeclaration) SetProperty

func (val CSSStyleDeclaration) SetProperty(property string, value string)

func (CSSStyleDeclaration) SetPropertyWithPriority

func (val CSSStyleDeclaration) SetPropertyWithPriority(property string, value string, priority string)

type CharacterData

type CharacterData interface {
	BaseURI() string
	ChildNodes() NodeList
	FirstChild() Node
	IsConnected() bool
	LastChild() Node
	NextSibling() Node
	NodeName() string
	NodeType() NodeType
	NodeValue() Node
	ParentNode() Node
	ParentElement() Element
	PreviousSibling() Node
	TextContent() string
	SetTextContent(textContent string)
	Data() string
	Length() int
	NextElementSibling() Element
	PreviousElementSibling() Element
	AddEventListener(eventType string, listener js.Func, options AddEventListenerOptions, useCapture bool)
	RemoveEventListener(eventType string, listener js.Func, options AddEventListenerOptions, useCapture bool)
	DispatchEvent(event Event) bool
	AppendChild(aChild Node) Node
	CloneNode(deep bool) Node
	CompareDocumentPosition(otherNode Node) DocumentPosition
	Contains(node Node) bool
	GetRootNode(options GetRootNodeOptions) Node
	HasChildNodes() bool
	InsertBefore(newNode Node, referenceNode Node) Element
	IsDefaultNamespace(namespaceURL string) bool
	IsEqualNode(otherNode Node) bool
	IsOtherNode(otherNode Node) bool
	LookupPrefix(prefix string) string
	LookupNamespaceURI(prefix string) string
	Normalize()
	RemoveChild(child Node)
	ReplaceChild(newChild Node, oldChild Node)
}

type CreateElementOptions

type CreateElementOptions map[string]any

func (CreateElementOptions) SetIs

func (options CreateElementOptions) SetIs(value string) CreateElementOptions

type DOMRect

type DOMRect js.Value

func (DOMRect) Bottom

func (val DOMRect) Bottom() int

func (DOMRect) Height

func (val DOMRect) Height() int

func (DOMRect) Left

func (val DOMRect) Left() int

func (DOMRect) Right

func (val DOMRect) Right() int

func (DOMRect) Top

func (val DOMRect) Top() int

func (DOMRect) Width

func (val DOMRect) Width() int

func (DOMRect) X

func (val DOMRect) X() int

func (DOMRect) Y

func (val DOMRect) Y() int

type DOMTokenList

type DOMTokenList js.Value

func (DOMTokenList) Add

func (val DOMTokenList) Add(token ...string)

func (DOMTokenList) Contains

func (val DOMTokenList) Contains(token string) bool

func (DOMTokenList) Item

func (val DOMTokenList) Item(index int) string

func (DOMTokenList) Length

func (val DOMTokenList) Length() int

func (DOMTokenList) Remove

func (val DOMTokenList) Remove(token ...string)

func (DOMTokenList) Replace

func (val DOMTokenList) Replace(oldToken string, newToken string)

func (DOMTokenList) Supports

func (val DOMTokenList) Supports(token string) bool

func (DOMTokenList) Toggle

func (val DOMTokenList) Toggle(token string) bool

func (DOMTokenList) ToggleForce

func (val DOMTokenList) ToggleForce(token string, force bool) bool

func (DOMTokenList) Value

func (val DOMTokenList) Value() string

type Document

type Document js.Value

func (Document) ActiveElement

func (val Document) ActiveElement() Element

func (Document) AddEventListener

func (val Document) AddEventListener(eventType string, listener js.Func, options AddEventListenerOptions, useCapture bool)

func (Document) AdoptNode

func (val Document) AdoptNode(externalNode Node)

func (Document) Append

func (val Document) Append(params ...Node)

func (Document) AppendChild

func (val Document) AppendChild(aChild Node) Node

func (Document) BaseURI

func (val Document) BaseURI() string

func (Document) Body

func (val Document) Body() Element

func (Document) CharacterSet

func (val Document) CharacterSet() string

func (Document) ChildElementCount

func (val Document) ChildElementCount() int

func (Document) ChildNodes

func (val Document) ChildNodes() NodeList

func (Document) Children

func (val Document) Children() HTMLCollection

func (Document) CloneNode

func (val Document) CloneNode(deep bool) Node

func (Document) CompareDocumentPosition

func (val Document) CompareDocumentPosition(otherNode Node) DocumentPosition

func (Document) Contains

func (val Document) Contains(node Node) bool

func (Document) ContentType

func (val Document) ContentType() string

func (Document) Cookie

func (val Document) Cookie() string

func (Document) CreateElement

func (val Document) CreateElement(tagName string) Element

func (Document) CreateElementNS

func (val Document) CreateElementNS(namespaceURI string, qualifiedName string, options CreateElementOptions) Element

func (Document) CreateElementWithOptions

func (val Document) CreateElementWithOptions(tagName string, options CreateElementOptions) Element

func (Document) CreateTextNode

func (val Document) CreateTextNode(text string) Text

func (Document) CurrentScript

func (val Document) CurrentScript() Element

func (Document) Dir

func (val Document) Dir() string

func (Document) DispatchEvent

func (val Document) DispatchEvent(event Event) bool

func (Document) DocType

func (val Document) DocType() string

func (Document) DocumentElement

func (val Document) DocumentElement() Element

func (Document) DocumentURI

func (val Document) DocumentURI() string

func (Document) Domain

func (val Document) Domain() string

func (Document) FirstChild

func (val Document) FirstChild() Node

func (Document) Forms

func (val Document) Forms() HTMLCollection

func (Document) GetElementByID

func (val Document) GetElementByID(id string) Element

func (Document) GetElementsByClassName

func (val Document) GetElementsByClassName(id string) HTMLCollection

func (Document) GetRootNode

func (val Document) GetRootNode(options GetRootNodeOptions) Node

func (Document) HasChildNodes

func (val Document) HasChildNodes() bool

func (Document) Head

func (val Document) Head() Element

func (Document) Hidden

func (val Document) Hidden() bool

func (Document) Images

func (val Document) Images() HTMLCollection

func (Document) InsertBefore

func (val Document) InsertBefore(newNode Node, referenceNode Node) Element

func (Document) IsConnected

func (val Document) IsConnected() bool

func (Document) IsDefaultNamespace

func (val Document) IsDefaultNamespace(namespaceURL string) bool

func (Document) IsEqualNode

func (val Document) IsEqualNode(otherNode Node) bool

func (Document) IsOtherNode

func (val Document) IsOtherNode(otherNode Node) bool

func (Document) LastChild

func (val Document) LastChild() Node
func (val Document) Links() HTMLCollection

func (Document) Location

func (val Document) Location() string

func (Document) LookupNamespaceURI

func (val Document) LookupNamespaceURI(prefix string) string

func (Document) LookupPrefix

func (val Document) LookupPrefix(prefix string) string

func (Document) NextSibling

func (val Document) NextSibling() Node

func (Document) NodeName

func (val Document) NodeName() string

func (Document) NodeType

func (val Document) NodeType() NodeType

func (Document) NodeValue

func (val Document) NodeValue() Node

func (Document) Normalize

func (val Document) Normalize()

func (Document) ParentElement

func (val Document) ParentElement() Element

func (Document) ParentNode

func (val Document) ParentNode() Node

func (Document) Prepend

func (val Document) Prepend(nodes ...Node)

func (Document) PreviousSibling

func (val Document) PreviousSibling() Node

func (Document) QuerySelector

func (val Document) QuerySelector(selectors string) Element

func (Document) QuerySelectorAll

func (val Document) QuerySelectorAll(selectors string) NodeList

func (Document) ReadyState

func (val Document) ReadyState() string

func (Document) Referrer

func (val Document) Referrer() string

func (Document) RemoveChild

func (val Document) RemoveChild(child Node)

func (Document) RemoveEventListener

func (val Document) RemoveEventListener(eventType string, listener js.Func, options AddEventListenerOptions, useCapture bool)

func (Document) ReplaceChild

func (val Document) ReplaceChild(newChild Node, oldChild Node)

func (Document) Scripts

func (val Document) Scripts() HTMLCollection

func (Document) SetDir

func (val Document) SetDir(dir string)

func (Document) SetDomain

func (val Document) SetDomain(domain string)

func (Document) SetTextContent

func (val Document) SetTextContent(textContent string)

func (Document) SetTitle

func (val Document) SetTitle(title string)

func (Document) StyleSheets

func (val Document) StyleSheets() HTMLCollection

func (Document) TextContent

func (val Document) TextContent() string

func (Document) Title

func (val Document) Title() string

func (Document) URL

func (val Document) URL() string

type DocumentFragment

type DocumentFragment js.Value

func (DocumentFragment) AddEventListener

func (val DocumentFragment) AddEventListener(eventType string, listener js.Func, options AddEventListenerOptions, useCapture bool)

func (DocumentFragment) AppendChild

func (val DocumentFragment) AppendChild(aChild Node) Node

func (DocumentFragment) BaseURI

func (val DocumentFragment) BaseURI() string

func (DocumentFragment) ChildNodes

func (val DocumentFragment) ChildNodes() NodeList

func (DocumentFragment) CloneNode

func (val DocumentFragment) CloneNode(deep bool) Node

func (DocumentFragment) CompareDocumentPosition

func (val DocumentFragment) CompareDocumentPosition(otherNode Node) DocumentPosition

func (DocumentFragment) Contains

func (val DocumentFragment) Contains(node Node) bool

func (DocumentFragment) DispatchEvent

func (val DocumentFragment) DispatchEvent(event Event) bool

func (DocumentFragment) FirstChild

func (val DocumentFragment) FirstChild() Node

func (DocumentFragment) GetRootNode

func (val DocumentFragment) GetRootNode(options GetRootNodeOptions) Node

func (DocumentFragment) HasChildNodes

func (val DocumentFragment) HasChildNodes() bool

func (DocumentFragment) InsertBefore

func (val DocumentFragment) InsertBefore(newNode Node, referenceNode Node) Element

func (DocumentFragment) IsConnected

func (val DocumentFragment) IsConnected() bool

func (DocumentFragment) IsDefaultNamespace

func (val DocumentFragment) IsDefaultNamespace(namespaceURL string) bool

func (DocumentFragment) IsEqualNode

func (val DocumentFragment) IsEqualNode(otherNode Node) bool

func (DocumentFragment) IsOtherNode

func (val DocumentFragment) IsOtherNode(otherNode Node) bool

func (DocumentFragment) LastChild

func (val DocumentFragment) LastChild() Node

func (DocumentFragment) LookupNamespaceURI

func (val DocumentFragment) LookupNamespaceURI(prefix string) string

func (DocumentFragment) LookupPrefix

func (val DocumentFragment) LookupPrefix(prefix string) string

func (DocumentFragment) NextSibling

func (val DocumentFragment) NextSibling() Node

func (DocumentFragment) NodeName

func (val DocumentFragment) NodeName() string

func (DocumentFragment) NodeType

func (val DocumentFragment) NodeType() NodeType

func (DocumentFragment) NodeValue

func (val DocumentFragment) NodeValue() Node

func (DocumentFragment) Normalize

func (val DocumentFragment) Normalize()

func (DocumentFragment) ParentElement

func (val DocumentFragment) ParentElement() Element

func (DocumentFragment) ParentNode

func (val DocumentFragment) ParentNode() Node

func (DocumentFragment) PreviousSibling

func (val DocumentFragment) PreviousSibling() Node

func (DocumentFragment) RemoveChild

func (val DocumentFragment) RemoveChild(child Node)

func (DocumentFragment) RemoveEventListener

func (val DocumentFragment) RemoveEventListener(eventType string, listener js.Func, options AddEventListenerOptions, useCapture bool)

func (DocumentFragment) ReplaceChild

func (val DocumentFragment) ReplaceChild(newChild Node, oldChild Node)

func (DocumentFragment) SetTextContent

func (val DocumentFragment) SetTextContent(textContent string)

func (DocumentFragment) TextContent

func (val DocumentFragment) TextContent() string

type DocumentPosition

type DocumentPosition int
const (
	DocumentPositionDisconnected DocumentPosition = 1 << iota
	DocumentPositionPreceding
	DocumentPositionFollowing
	DocumentPositionContains
	DocumentPositionContainedBy
	DocumentPositionImplementationSpecific
)

type Element

type Element interface {
	BaseURI() string
	ChildNodes() NodeList
	FirstChild() Node
	IsConnected() bool
	LastChild() Node
	NextSibling() Node
	NodeName() string
	NodeType() NodeType
	NodeValue() Node
	ParentNode() Node
	ParentElement() Element
	PreviousSibling() Node
	TextContent() string
	SetTextContent(textContent string)
	ChildElementCount() int
	Children() HTMLCollection
	ClassList() DOMTokenList
	ClassName() string
	ClientHeight() int
	ClientLeft() int
	ClientTop() int
	ClientWidth() int
	FirstElementChild() Element
	ID() string
	InnerHTML() string
	SetInnerHTML(innerHTML string)
	LocalName() string
	NamespaceURI() string
	NextElementSibling() Element
	OuterHTML() string
	Part() DOMTokenList
	Prefix() string
	PreviousElementSibling() Element
	ScrollHeight() int
	ScrollLeft() int
	ScrollTop() int
	ScrollWidth() int
	Slot() string
	TagName() string
	AddEventListener(eventType string, listener js.Func, options AddEventListenerOptions, useCapture bool)
	RemoveEventListener(eventType string, listener js.Func, options AddEventListenerOptions, useCapture bool)
	DispatchEvent(event Event) bool
	AppendChild(aChild Node) Node
	CloneNode(deep bool) Node
	CompareDocumentPosition(otherNode Node) DocumentPosition
	Contains(node Node) bool
	GetRootNode(options GetRootNodeOptions) Node
	HasChildNodes() bool
	InsertBefore(newNode Node, referenceNode Node) Element
	IsDefaultNamespace(namespaceURL string) bool
	IsEqualNode(otherNode Node) bool
	IsOtherNode(otherNode Node) bool
	LookupPrefix(prefix string) string
	LookupNamespaceURI(prefix string) string
	Normalize()
	RemoveChild(child Node)
	ReplaceChild(newChild Node, oldChild Node)
	After(node ...Node)
	Append(params ...Node)
	Before(params ...Node)
	Closest(selector string) Element
	GetAttribute(name string) string
	GetAttributeNames() string
	GetBoundingClientRect() DOMRect
	GetElementsByClassName(names string) HTMLCollection
	GetElementByID(id string) Element
	GetElementsByTagName(tagName string) HTMLCollection
	GetElementsByTagNameNS(namespaceURI string, localName string) HTMLCollection
	HasAttribute(name string) bool
	HasAttributeNS(namespaceURI string, localName string) bool
	HasAttributes() bool
	HasPointerCapture(pointerId int) bool
	InsertAdjacentElement(position AdjacentPosition, element Element) Element
	InsertAdjacentHTML(position AdjacentPosition, text string)
	InsertAdjacentText(position AdjacentPosition, text string)
	Matches(selectors string) HTMLCollection
	Prepend(nodes ...Node)
	QuerySelector(selectors string) Element
	QuerySelectorAll(selectors string) NodeList
	ReleasePointerCapture(pointerId int)
	Remove()
	RemoveAttribute(attrName string)
	RemoveAttributeNS(namespaceURI string, localName string)
	ReplaceChildren(node ...Node)
	ReplaceWith(node ...Node)
	Scroll(options ScrollOptions)
	ScrollBy(options ScrollOptions)
	ScrollIntoView(options ScrollIntoViewOptions)
	ScrollTo(options ScrollOptions)
	SetAttribute(name string, value string)
	SetAttributeNS(namespace string, name string, value string)
	SetPointerCapture(pointerId int)
	ToggleAttribute(name string)
}

type Event

type Event js.Value

func (Event) Bubbles

func (val Event) Bubbles() bool

func (Event) Cancelable

func (val Event) Cancelable() bool

func (Event) Composed

func (val Event) Composed() bool

func (Event) CurrentTarget

func (val Event) CurrentTarget() js.Value

func (Event) DefaultPrevented

func (val Event) DefaultPrevented() bool

func (Event) EventPhase

func (val Event) EventPhase() EventPhase

func (Event) IsTrusted

func (val Event) IsTrusted() bool

func (Event) PreventDefault

func (val Event) PreventDefault()

func (Event) StopImmediatePropagation

func (val Event) StopImmediatePropagation()

func (Event) StopPropagation

func (val Event) StopPropagation()

func (Event) Target

func (val Event) Target() js.Value

func (Event) TimeStamp

func (val Event) TimeStamp() time.Time

func (Event) Type

func (val Event) Type() string

type EventPhase

type EventPhase int
const (
	EventPhaseNone EventPhase = iota
	EventPhaseCapturing
	EventPhaseAtTarget
	EventPhaseBubbling
)

type EventSource

type EventSource js.Value

func (EventSource) AddEventListener

func (val EventSource) AddEventListener(eventType string, listener js.Func, options AddEventListenerOptions, useCapture bool)

func (EventSource) Close

func (val EventSource) Close()

func (EventSource) DispatchEvent

func (val EventSource) DispatchEvent(event Event) bool

func (EventSource) On

func (val EventSource) On(event string, handlerFunc func(event MessageEvent)) js.Func

func (EventSource) OnError

func (val EventSource) OnError(handlerFunc func(err Event)) js.Func

func (EventSource) OnMessage

func (val EventSource) OnMessage(handlerFunc func(event MessageEvent)) js.Func

func (EventSource) OnOpen

func (val EventSource) OnOpen(handlerFunc func(event Event)) js.Func

func (EventSource) ReadyState

func (val EventSource) ReadyState() int

func (EventSource) RemoveEventListener

func (val EventSource) RemoveEventListener(eventType string, listener js.Func, options AddEventListenerOptions, useCapture bool)

func (EventSource) URL

func (val EventSource) URL() string

func (EventSource) WithCredentials

func (val EventSource) WithCredentials() bool

type EventTarget

type EventTarget interface {
	AddEventListener(eventType string, listener js.Func, options AddEventListenerOptions, useCapture bool)
	RemoveEventListener(eventType string, listener js.Func, options AddEventListenerOptions, useCapture bool)
	DispatchEvent(event Event) bool
}

type FocusEvent

type FocusEvent js.Value

func (FocusEvent) Bubbles

func (val FocusEvent) Bubbles() bool

func (FocusEvent) Cancelable

func (val FocusEvent) Cancelable() bool

func (FocusEvent) Composed

func (val FocusEvent) Composed() bool

func (FocusEvent) CurrentTarget

func (val FocusEvent) CurrentTarget() js.Value

func (FocusEvent) DefaultPrevented

func (val FocusEvent) DefaultPrevented() bool

func (FocusEvent) Detail

func (val FocusEvent) Detail() int

func (FocusEvent) EventPhase

func (val FocusEvent) EventPhase() EventPhase

func (FocusEvent) IsTrusted

func (val FocusEvent) IsTrusted() bool

func (FocusEvent) PreventDefault

func (val FocusEvent) PreventDefault()

func (FocusEvent) RelatedTarget

func (val FocusEvent) RelatedTarget() js.Value

func (FocusEvent) StopImmediatePropagation

func (val FocusEvent) StopImmediatePropagation()

func (FocusEvent) StopPropagation

func (val FocusEvent) StopPropagation()

func (FocusEvent) Target

func (val FocusEvent) Target() js.Value

func (FocusEvent) TimeStamp

func (val FocusEvent) TimeStamp() time.Time

func (FocusEvent) Type

func (val FocusEvent) Type() string

func (FocusEvent) View

func (val FocusEvent) View() js.Value

type FocusOptions

type FocusOptions map[string]any

func (FocusOptions) SetBehavior

func (options FocusOptions) SetBehavior(value bool) FocusOptions

func (FocusOptions) SetBlock

func (options FocusOptions) SetBlock(value ScrollAlignment) FocusOptions

func (FocusOptions) SetFocusVisible

func (options FocusOptions) SetFocusVisible(value bool) FocusOptions

func (FocusOptions) SetInline

func (options FocusOptions) SetInline(value ScrollAlignment) FocusOptions

func (FocusOptions) SetPreventScroll

func (options FocusOptions) SetPreventScroll(value bool) FocusOptions

type GenericEvent

type GenericEvent js.Value

func (GenericEvent) Bubbles

func (val GenericEvent) Bubbles() bool

func (GenericEvent) Cancelable

func (val GenericEvent) Cancelable() bool

func (GenericEvent) Composed

func (val GenericEvent) Composed() bool

func (GenericEvent) CurrentTarget

func (val GenericEvent) CurrentTarget() js.Value

func (GenericEvent) DefaultPrevented

func (val GenericEvent) DefaultPrevented() bool

func (GenericEvent) EventPhase

func (val GenericEvent) EventPhase() EventPhase

func (GenericEvent) IsTrusted

func (val GenericEvent) IsTrusted() bool

func (GenericEvent) PreventDefault

func (val GenericEvent) PreventDefault()

func (GenericEvent) StopImmediatePropagation

func (val GenericEvent) StopImmediatePropagation()

func (GenericEvent) StopPropagation

func (val GenericEvent) StopPropagation()

func (GenericEvent) Target

func (val GenericEvent) Target() js.Value

func (GenericEvent) TimeStamp

func (val GenericEvent) TimeStamp() time.Time

func (GenericEvent) Type

func (val GenericEvent) Type() string

type GetRootNodeOptions

type GetRootNodeOptions map[string]any

type HTMLCollection

type HTMLCollection js.Value

func (HTMLCollection) Item

func (val HTMLCollection) Item(index int) Node

func (HTMLCollection) Length

func (val HTMLCollection) Length() int

func (HTMLCollection) NamedItem

func (val HTMLCollection) NamedItem(name string) Node

type HTMLElement

type HTMLElement js.Value

func (HTMLElement) AccessKey

func (val HTMLElement) AccessKey() string

func (HTMLElement) AccessKeyLabel

func (val HTMLElement) AccessKeyLabel() string

func (HTMLElement) AddEventListener

func (val HTMLElement) AddEventListener(eventType string, listener js.Func, options AddEventListenerOptions, useCapture bool)

func (HTMLElement) After

func (val HTMLElement) After(node ...Node)

func (HTMLElement) Append

func (val HTMLElement) Append(params ...Node)

func (HTMLElement) AppendChild

func (val HTMLElement) AppendChild(aChild Node) Node

func (HTMLElement) BaseURI

func (val HTMLElement) BaseURI() string

func (HTMLElement) Before

func (val HTMLElement) Before(params ...Node)

func (HTMLElement) Blur

func (val HTMLElement) Blur()

func (HTMLElement) ChildElementCount

func (val HTMLElement) ChildElementCount() int

func (HTMLElement) ChildNodes

func (val HTMLElement) ChildNodes() NodeList

func (HTMLElement) Children

func (val HTMLElement) Children() HTMLCollection

func (HTMLElement) ClassList

func (val HTMLElement) ClassList() DOMTokenList

func (HTMLElement) ClassName

func (val HTMLElement) ClassName() string

func (HTMLElement) Click

func (val HTMLElement) Click()

func (HTMLElement) ClientHeight

func (val HTMLElement) ClientHeight() int

func (HTMLElement) ClientLeft

func (val HTMLElement) ClientLeft() int

func (HTMLElement) ClientTop

func (val HTMLElement) ClientTop() int

func (HTMLElement) ClientWidth

func (val HTMLElement) ClientWidth() int

func (HTMLElement) CloneNode

func (val HTMLElement) CloneNode(deep bool) Node

func (HTMLElement) Closest

func (val HTMLElement) Closest(selector string) Element

func (HTMLElement) CompareDocumentPosition

func (val HTMLElement) CompareDocumentPosition(otherNode Node) DocumentPosition

func (HTMLElement) Contains

func (val HTMLElement) Contains(node Node) bool

func (HTMLElement) Dataset

func (val HTMLElement) Dataset() StringMap

func (HTMLElement) Dir

func (val HTMLElement) Dir() string

func (HTMLElement) DispatchEvent

func (val HTMLElement) DispatchEvent(event Event) bool

func (HTMLElement) Draggable

func (val HTMLElement) Draggable() bool

func (HTMLElement) EnterKeyHint

func (val HTMLElement) EnterKeyHint() string

func (HTMLElement) FirstChild

func (val HTMLElement) FirstChild() Node

func (HTMLElement) FirstElementChild

func (val HTMLElement) FirstElementChild() Element

func (HTMLElement) Focus

func (val HTMLElement) Focus()

func (HTMLElement) FocusWithOptions

func (val HTMLElement) FocusWithOptions(options FocusOptions)

func (HTMLElement) GetAttribute

func (val HTMLElement) GetAttribute(name string) string

func (HTMLElement) GetAttributeNames

func (val HTMLElement) GetAttributeNames() string

func (HTMLElement) GetBoundingClientRect

func (val HTMLElement) GetBoundingClientRect() DOMRect

func (HTMLElement) GetElementByID

func (val HTMLElement) GetElementByID(id string) Element

func (HTMLElement) GetElementsByClassName

func (val HTMLElement) GetElementsByClassName(names string) HTMLCollection

func (HTMLElement) GetElementsByTagName

func (val HTMLElement) GetElementsByTagName(tagName string) HTMLCollection

func (HTMLElement) GetElementsByTagNameNS

func (val HTMLElement) GetElementsByTagNameNS(namespaceURI string, localName string) HTMLCollection

func (HTMLElement) GetRootNode

func (val HTMLElement) GetRootNode(options GetRootNodeOptions) Node

func (HTMLElement) HasAttribute

func (val HTMLElement) HasAttribute(name string) bool

func (HTMLElement) HasAttributeNS

func (val HTMLElement) HasAttributeNS(namespaceURI string, localName string) bool

func (HTMLElement) HasAttributes

func (val HTMLElement) HasAttributes() bool

func (HTMLElement) HasChildNodes

func (val HTMLElement) HasChildNodes() bool

func (HTMLElement) HasPointerCapture

func (val HTMLElement) HasPointerCapture(pointerId int) bool

func (HTMLElement) Hidden

func (val HTMLElement) Hidden() bool

func (HTMLElement) ID

func (val HTMLElement) ID() string

func (HTMLElement) InnerHTML

func (val HTMLElement) InnerHTML() string

func (HTMLElement) InnerText

func (val HTMLElement) InnerText() string

func (HTMLElement) InsertAdjacentElement

func (val HTMLElement) InsertAdjacentElement(position AdjacentPosition, element Element) Element

func (HTMLElement) InsertAdjacentHTML

func (val HTMLElement) InsertAdjacentHTML(position AdjacentPosition, text string)

func (HTMLElement) InsertAdjacentText

func (val HTMLElement) InsertAdjacentText(position AdjacentPosition, text string)

func (HTMLElement) InsertBefore

func (val HTMLElement) InsertBefore(newNode Node, referenceNode Node) Element

func (HTMLElement) IsConnected

func (val HTMLElement) IsConnected() bool

func (HTMLElement) IsContentEditable

func (val HTMLElement) IsContentEditable() bool

func (HTMLElement) IsDefaultNamespace

func (val HTMLElement) IsDefaultNamespace(namespaceURL string) bool

func (HTMLElement) IsEqualNode

func (val HTMLElement) IsEqualNode(otherNode Node) bool

func (HTMLElement) IsOtherNode

func (val HTMLElement) IsOtherNode(otherNode Node) bool

func (HTMLElement) Lang

func (val HTMLElement) Lang() string

func (HTMLElement) LastChild

func (val HTMLElement) LastChild() Node

func (HTMLElement) LocalName

func (val HTMLElement) LocalName() string

func (HTMLElement) LookupNamespaceURI

func (val HTMLElement) LookupNamespaceURI(prefix string) string

func (HTMLElement) LookupPrefix

func (val HTMLElement) LookupPrefix(prefix string) string

func (HTMLElement) Matches

func (val HTMLElement) Matches(selectors string) HTMLCollection

func (HTMLElement) NamespaceURI

func (val HTMLElement) NamespaceURI() string

func (HTMLElement) NextElementSibling

func (val HTMLElement) NextElementSibling() Element

func (HTMLElement) NextSibling

func (val HTMLElement) NextSibling() Node

func (HTMLElement) NodeName

func (val HTMLElement) NodeName() string

func (HTMLElement) NodeType

func (val HTMLElement) NodeType() NodeType

func (HTMLElement) NodeValue

func (val HTMLElement) NodeValue() Node

func (HTMLElement) Normalize

func (val HTMLElement) Normalize()

func (HTMLElement) OffsetHeight

func (val HTMLElement) OffsetHeight() float64

func (HTMLElement) OffsetLeft

func (val HTMLElement) OffsetLeft() float64

func (HTMLElement) OffsetParent

func (val HTMLElement) OffsetParent() float64

func (HTMLElement) OffsetTop

func (val HTMLElement) OffsetTop() float64

func (HTMLElement) OffsetWidth

func (val HTMLElement) OffsetWidth() float64

func (HTMLElement) OuterHTML

func (val HTMLElement) OuterHTML() string

func (HTMLElement) OuterText

func (val HTMLElement) OuterText() string

func (HTMLElement) ParentElement

func (val HTMLElement) ParentElement() Element

func (HTMLElement) ParentNode

func (val HTMLElement) ParentNode() Node

func (HTMLElement) Part

func (val HTMLElement) Part() DOMTokenList

func (HTMLElement) Prefix

func (val HTMLElement) Prefix() string

func (HTMLElement) Prepend

func (val HTMLElement) Prepend(nodes ...Node)

func (HTMLElement) PreviousElementSibling

func (val HTMLElement) PreviousElementSibling() Element

func (HTMLElement) PreviousSibling

func (val HTMLElement) PreviousSibling() Node

func (HTMLElement) QuerySelector

func (val HTMLElement) QuerySelector(selectors string) Element

func (HTMLElement) QuerySelectorAll

func (val HTMLElement) QuerySelectorAll(selectors string) NodeList

func (HTMLElement) ReleasePointerCapture

func (val HTMLElement) ReleasePointerCapture(pointerId int)

func (HTMLElement) Remove

func (val HTMLElement) Remove()

func (HTMLElement) RemoveAttribute

func (val HTMLElement) RemoveAttribute(attrName string)

func (HTMLElement) RemoveAttributeNS

func (val HTMLElement) RemoveAttributeNS(namespaceURI string, localName string)

func (HTMLElement) RemoveChild

func (val HTMLElement) RemoveChild(child Node)

func (HTMLElement) RemoveEventListener

func (val HTMLElement) RemoveEventListener(eventType string, listener js.Func, options AddEventListenerOptions, useCapture bool)

func (HTMLElement) ReplaceChild

func (val HTMLElement) ReplaceChild(newChild Node, oldChild Node)

func (HTMLElement) ReplaceChildren

func (val HTMLElement) ReplaceChildren(node ...Node)

func (HTMLElement) ReplaceWith

func (val HTMLElement) ReplaceWith(node ...Node)

func (HTMLElement) Scroll

func (val HTMLElement) Scroll(options ScrollOptions)

func (HTMLElement) ScrollBy

func (val HTMLElement) ScrollBy(options ScrollOptions)

func (HTMLElement) ScrollHeight

func (val HTMLElement) ScrollHeight() int

func (HTMLElement) ScrollIntoView

func (val HTMLElement) ScrollIntoView(options ScrollIntoViewOptions)

func (HTMLElement) ScrollLeft

func (val HTMLElement) ScrollLeft() int

func (HTMLElement) ScrollTo

func (val HTMLElement) ScrollTo(options ScrollOptions)

func (HTMLElement) ScrollTop

func (val HTMLElement) ScrollTop() int

func (HTMLElement) ScrollWidth

func (val HTMLElement) ScrollWidth() int

func (HTMLElement) SetAttribute

func (val HTMLElement) SetAttribute(name string, value string)

func (HTMLElement) SetAttributeNS

func (val HTMLElement) SetAttributeNS(namespace string, name string, value string)

func (HTMLElement) SetHidden

func (val HTMLElement) SetHidden(hidden bool)

func (HTMLElement) SetInnerHTML

func (val HTMLElement) SetInnerHTML(innerHTML string)

func (HTMLElement) SetInnerText

func (val HTMLElement) SetInnerText(innerText string)

func (HTMLElement) SetLang

func (val HTMLElement) SetLang(lang string)

func (HTMLElement) SetOuterText

func (val HTMLElement) SetOuterText(outerText string)

func (HTMLElement) SetPointerCapture

func (val HTMLElement) SetPointerCapture(pointerId int)

func (HTMLElement) SetTabIndex

func (val HTMLElement) SetTabIndex(tabIndex int)

func (HTMLElement) SetTextContent

func (val HTMLElement) SetTextContent(textContent string)

func (HTMLElement) SetTitle

func (val HTMLElement) SetTitle(title string)

func (HTMLElement) Slot

func (val HTMLElement) Slot() string

func (HTMLElement) Style

func (val HTMLElement) Style() CSSStyleDeclaration

func (HTMLElement) TabIndex

func (val HTMLElement) TabIndex() int

func (HTMLElement) TagName

func (val HTMLElement) TagName() string

func (HTMLElement) TextContent

func (val HTMLElement) TextContent() string

func (HTMLElement) Title

func (val HTMLElement) Title() string

func (HTMLElement) ToggleAttribute

func (val HTMLElement) ToggleAttribute(name string)

type HTMLIFrameElement

type HTMLIFrameElement js.Value

func (HTMLIFrameElement) AccessKey

func (val HTMLIFrameElement) AccessKey() string

func (HTMLIFrameElement) AccessKeyLabel

func (val HTMLIFrameElement) AccessKeyLabel() string

func (HTMLIFrameElement) AddEventListener

func (val HTMLIFrameElement) AddEventListener(eventType string, listener js.Func, options AddEventListenerOptions, useCapture bool)

func (HTMLIFrameElement) After

func (val HTMLIFrameElement) After(node ...Node)

func (HTMLIFrameElement) Append

func (val HTMLIFrameElement) Append(params ...Node)

func (HTMLIFrameElement) AppendChild

func (val HTMLIFrameElement) AppendChild(aChild Node) Node

func (HTMLIFrameElement) BaseURI

func (val HTMLIFrameElement) BaseURI() string

func (HTMLIFrameElement) Before

func (val HTMLIFrameElement) Before(params ...Node)

func (HTMLIFrameElement) Blur

func (val HTMLIFrameElement) Blur()

func (HTMLIFrameElement) ChildElementCount

func (val HTMLIFrameElement) ChildElementCount() int

func (HTMLIFrameElement) ChildNodes

func (val HTMLIFrameElement) ChildNodes() NodeList

func (HTMLIFrameElement) Children

func (val HTMLIFrameElement) Children() HTMLCollection

func (HTMLIFrameElement) ClassList

func (val HTMLIFrameElement) ClassList() DOMTokenList

func (HTMLIFrameElement) ClassName

func (val HTMLIFrameElement) ClassName() string

func (HTMLIFrameElement) Click

func (val HTMLIFrameElement) Click()

func (HTMLIFrameElement) ClientHeight

func (val HTMLIFrameElement) ClientHeight() int

func (HTMLIFrameElement) ClientLeft

func (val HTMLIFrameElement) ClientLeft() int

func (HTMLIFrameElement) ClientTop

func (val HTMLIFrameElement) ClientTop() int

func (HTMLIFrameElement) ClientWidth

func (val HTMLIFrameElement) ClientWidth() int

func (HTMLIFrameElement) CloneNode

func (val HTMLIFrameElement) CloneNode(deep bool) Node

func (HTMLIFrameElement) Closest

func (val HTMLIFrameElement) Closest(selector string) Element

func (HTMLIFrameElement) CompareDocumentPosition

func (val HTMLIFrameElement) CompareDocumentPosition(otherNode Node) DocumentPosition

func (HTMLIFrameElement) Contains

func (val HTMLIFrameElement) Contains(node Node) bool

func (HTMLIFrameElement) Dataset

func (val HTMLIFrameElement) Dataset() StringMap

func (HTMLIFrameElement) Dir

func (val HTMLIFrameElement) Dir() string

func (HTMLIFrameElement) DispatchEvent

func (val HTMLIFrameElement) DispatchEvent(event Event) bool

func (HTMLIFrameElement) Draggable

func (val HTMLIFrameElement) Draggable() bool

func (HTMLIFrameElement) EnterKeyHint

func (val HTMLIFrameElement) EnterKeyHint() string

func (HTMLIFrameElement) FirstChild

func (val HTMLIFrameElement) FirstChild() Node

func (HTMLIFrameElement) FirstElementChild

func (val HTMLIFrameElement) FirstElementChild() Element

func (HTMLIFrameElement) Focus

func (val HTMLIFrameElement) Focus()

func (HTMLIFrameElement) FocusWithOptions

func (val HTMLIFrameElement) FocusWithOptions(options FocusOptions)

func (HTMLIFrameElement) GetAttribute

func (val HTMLIFrameElement) GetAttribute(name string) string

func (HTMLIFrameElement) GetAttributeNames

func (val HTMLIFrameElement) GetAttributeNames() string

func (HTMLIFrameElement) GetBoundingClientRect

func (val HTMLIFrameElement) GetBoundingClientRect() DOMRect

func (HTMLIFrameElement) GetElementByID

func (val HTMLIFrameElement) GetElementByID(id string) Element

func (HTMLIFrameElement) GetElementsByClassName

func (val HTMLIFrameElement) GetElementsByClassName(names string) HTMLCollection

func (HTMLIFrameElement) GetElementsByTagName

func (val HTMLIFrameElement) GetElementsByTagName(tagName string) HTMLCollection

func (HTMLIFrameElement) GetElementsByTagNameNS

func (val HTMLIFrameElement) GetElementsByTagNameNS(namespaceURI string, localName string) HTMLCollection

func (HTMLIFrameElement) GetRootNode

func (val HTMLIFrameElement) GetRootNode(options GetRootNodeOptions) Node

func (HTMLIFrameElement) HasAttribute

func (val HTMLIFrameElement) HasAttribute(name string) bool

func (HTMLIFrameElement) HasAttributeNS

func (val HTMLIFrameElement) HasAttributeNS(namespaceURI string, localName string) bool

func (HTMLIFrameElement) HasAttributes

func (val HTMLIFrameElement) HasAttributes() bool

func (HTMLIFrameElement) HasChildNodes

func (val HTMLIFrameElement) HasChildNodes() bool

func (HTMLIFrameElement) HasPointerCapture

func (val HTMLIFrameElement) HasPointerCapture(pointerId int) bool

func (HTMLIFrameElement) Hidden

func (val HTMLIFrameElement) Hidden() bool

func (HTMLIFrameElement) ID

func (val HTMLIFrameElement) ID() string

func (HTMLIFrameElement) InnerHTML

func (val HTMLIFrameElement) InnerHTML() string

func (HTMLIFrameElement) InnerText

func (val HTMLIFrameElement) InnerText() string

func (HTMLIFrameElement) InsertAdjacentElement

func (val HTMLIFrameElement) InsertAdjacentElement(position AdjacentPosition, element Element) Element

func (HTMLIFrameElement) InsertAdjacentHTML

func (val HTMLIFrameElement) InsertAdjacentHTML(position AdjacentPosition, text string)

func (HTMLIFrameElement) InsertAdjacentText

func (val HTMLIFrameElement) InsertAdjacentText(position AdjacentPosition, text string)

func (HTMLIFrameElement) InsertBefore

func (val HTMLIFrameElement) InsertBefore(newNode Node, referenceNode Node) Element

func (HTMLIFrameElement) IsConnected

func (val HTMLIFrameElement) IsConnected() bool

func (HTMLIFrameElement) IsContentEditable

func (val HTMLIFrameElement) IsContentEditable() bool

func (HTMLIFrameElement) IsDefaultNamespace

func (val HTMLIFrameElement) IsDefaultNamespace(namespaceURL string) bool

func (HTMLIFrameElement) IsEqualNode

func (val HTMLIFrameElement) IsEqualNode(otherNode Node) bool

func (HTMLIFrameElement) IsOtherNode

func (val HTMLIFrameElement) IsOtherNode(otherNode Node) bool

func (HTMLIFrameElement) Lang

func (val HTMLIFrameElement) Lang() string

func (HTMLIFrameElement) LastChild

func (val HTMLIFrameElement) LastChild() Node

func (HTMLIFrameElement) LocalName

func (val HTMLIFrameElement) LocalName() string

func (HTMLIFrameElement) LookupNamespaceURI

func (val HTMLIFrameElement) LookupNamespaceURI(prefix string) string

func (HTMLIFrameElement) LookupPrefix

func (val HTMLIFrameElement) LookupPrefix(prefix string) string

func (HTMLIFrameElement) Matches

func (val HTMLIFrameElement) Matches(selectors string) HTMLCollection

func (HTMLIFrameElement) NamespaceURI

func (val HTMLIFrameElement) NamespaceURI() string

func (HTMLIFrameElement) NextElementSibling

func (val HTMLIFrameElement) NextElementSibling() Element

func (HTMLIFrameElement) NextSibling

func (val HTMLIFrameElement) NextSibling() Node

func (HTMLIFrameElement) NodeName

func (val HTMLIFrameElement) NodeName() string

func (HTMLIFrameElement) NodeType

func (val HTMLIFrameElement) NodeType() NodeType

func (HTMLIFrameElement) NodeValue

func (val HTMLIFrameElement) NodeValue() Node

func (HTMLIFrameElement) Normalize

func (val HTMLIFrameElement) Normalize()

func (HTMLIFrameElement) OffsetHeight

func (val HTMLIFrameElement) OffsetHeight() float64

func (HTMLIFrameElement) OffsetLeft

func (val HTMLIFrameElement) OffsetLeft() float64

func (HTMLIFrameElement) OffsetParent

func (val HTMLIFrameElement) OffsetParent() float64

func (HTMLIFrameElement) OffsetTop

func (val HTMLIFrameElement) OffsetTop() float64

func (HTMLIFrameElement) OffsetWidth

func (val HTMLIFrameElement) OffsetWidth() float64

func (HTMLIFrameElement) OuterHTML

func (val HTMLIFrameElement) OuterHTML() string

func (HTMLIFrameElement) OuterText

func (val HTMLIFrameElement) OuterText() string

func (HTMLIFrameElement) ParentElement

func (val HTMLIFrameElement) ParentElement() Element

func (HTMLIFrameElement) ParentNode

func (val HTMLIFrameElement) ParentNode() Node

func (HTMLIFrameElement) Part

func (val HTMLIFrameElement) Part() DOMTokenList

func (HTMLIFrameElement) Prefix

func (val HTMLIFrameElement) Prefix() string

func (HTMLIFrameElement) Prepend

func (val HTMLIFrameElement) Prepend(nodes ...Node)

func (HTMLIFrameElement) PreviousElementSibling

func (val HTMLIFrameElement) PreviousElementSibling() Element

func (HTMLIFrameElement) PreviousSibling

func (val HTMLIFrameElement) PreviousSibling() Node

func (HTMLIFrameElement) QuerySelector

func (val HTMLIFrameElement) QuerySelector(selectors string) Element

func (HTMLIFrameElement) QuerySelectorAll

func (val HTMLIFrameElement) QuerySelectorAll(selectors string) NodeList

func (HTMLIFrameElement) ReleasePointerCapture

func (val HTMLIFrameElement) ReleasePointerCapture(pointerId int)

func (HTMLIFrameElement) Remove

func (val HTMLIFrameElement) Remove()

func (HTMLIFrameElement) RemoveAttribute

func (val HTMLIFrameElement) RemoveAttribute(attrName string)

func (HTMLIFrameElement) RemoveAttributeNS

func (val HTMLIFrameElement) RemoveAttributeNS(namespaceURI string, localName string)

func (HTMLIFrameElement) RemoveChild

func (val HTMLIFrameElement) RemoveChild(child Node)

func (HTMLIFrameElement) RemoveEventListener

func (val HTMLIFrameElement) RemoveEventListener(eventType string, listener js.Func, options AddEventListenerOptions, useCapture bool)

func (HTMLIFrameElement) ReplaceChild

func (val HTMLIFrameElement) ReplaceChild(newChild Node, oldChild Node)

func (HTMLIFrameElement) ReplaceChildren

func (val HTMLIFrameElement) ReplaceChildren(node ...Node)

func (HTMLIFrameElement) ReplaceWith

func (val HTMLIFrameElement) ReplaceWith(node ...Node)

func (HTMLIFrameElement) Scroll

func (val HTMLIFrameElement) Scroll(options ScrollOptions)

func (HTMLIFrameElement) ScrollBy

func (val HTMLIFrameElement) ScrollBy(options ScrollOptions)

func (HTMLIFrameElement) ScrollHeight

func (val HTMLIFrameElement) ScrollHeight() int

func (HTMLIFrameElement) ScrollIntoView

func (val HTMLIFrameElement) ScrollIntoView(options ScrollIntoViewOptions)

func (HTMLIFrameElement) ScrollLeft

func (val HTMLIFrameElement) ScrollLeft() int

func (HTMLIFrameElement) ScrollTo

func (val HTMLIFrameElement) ScrollTo(options ScrollOptions)

func (HTMLIFrameElement) ScrollTop

func (val HTMLIFrameElement) ScrollTop() int

func (HTMLIFrameElement) ScrollWidth

func (val HTMLIFrameElement) ScrollWidth() int

func (HTMLIFrameElement) SetAttribute

func (val HTMLIFrameElement) SetAttribute(name string, value string)

func (HTMLIFrameElement) SetAttributeNS

func (val HTMLIFrameElement) SetAttributeNS(namespace string, name string, value string)

func (HTMLIFrameElement) SetHidden

func (val HTMLIFrameElement) SetHidden(hidden bool)

func (HTMLIFrameElement) SetInnerHTML

func (val HTMLIFrameElement) SetInnerHTML(innerHTML string)

func (HTMLIFrameElement) SetInnerText

func (val HTMLIFrameElement) SetInnerText(innerText string)

func (HTMLIFrameElement) SetLang

func (val HTMLIFrameElement) SetLang(lang string)

func (HTMLIFrameElement) SetOuterText

func (val HTMLIFrameElement) SetOuterText(outerText string)

func (HTMLIFrameElement) SetPointerCapture

func (val HTMLIFrameElement) SetPointerCapture(pointerId int)

func (HTMLIFrameElement) SetTabIndex

func (val HTMLIFrameElement) SetTabIndex(tabIndex int)

func (HTMLIFrameElement) SetTextContent

func (val HTMLIFrameElement) SetTextContent(textContent string)

func (HTMLIFrameElement) SetTitle

func (val HTMLIFrameElement) SetTitle(title string)

func (HTMLIFrameElement) Slot

func (val HTMLIFrameElement) Slot() string

func (HTMLIFrameElement) Style

func (HTMLIFrameElement) TabIndex

func (val HTMLIFrameElement) TabIndex() int

func (HTMLIFrameElement) TagName

func (val HTMLIFrameElement) TagName() string

func (HTMLIFrameElement) TextContent

func (val HTMLIFrameElement) TextContent() string

func (HTMLIFrameElement) Title

func (val HTMLIFrameElement) Title() string

func (HTMLIFrameElement) ToggleAttribute

func (val HTMLIFrameElement) ToggleAttribute(name string)

type InputEvent

type InputEvent js.Value

func (InputEvent) Bubbles

func (val InputEvent) Bubbles() bool

func (InputEvent) Cancelable

func (val InputEvent) Cancelable() bool

func (InputEvent) Composed

func (val InputEvent) Composed() bool

func (InputEvent) CurrentTarget

func (val InputEvent) CurrentTarget() js.Value

func (InputEvent) Data

func (val InputEvent) Data() string

func (InputEvent) DataTransfer

func (val InputEvent) DataTransfer() string

func (InputEvent) DefaultPrevented

func (val InputEvent) DefaultPrevented() bool

func (InputEvent) Detail

func (val InputEvent) Detail() int

func (InputEvent) EventPhase

func (val InputEvent) EventPhase() EventPhase

func (InputEvent) GetTargetRanges

func (val InputEvent) GetTargetRanges() []StaticRange

func (InputEvent) InputType

func (val InputEvent) InputType() string

func (InputEvent) IsComposing

func (val InputEvent) IsComposing() bool

func (InputEvent) IsTrusted

func (val InputEvent) IsTrusted() bool

func (InputEvent) PreventDefault

func (val InputEvent) PreventDefault()

func (InputEvent) StopImmediatePropagation

func (val InputEvent) StopImmediatePropagation()

func (InputEvent) StopPropagation

func (val InputEvent) StopPropagation()

func (InputEvent) Target

func (val InputEvent) Target() js.Value

func (InputEvent) TimeStamp

func (val InputEvent) TimeStamp() time.Time

func (InputEvent) Type

func (val InputEvent) Type() string

func (InputEvent) View

func (val InputEvent) View() js.Value

type KeyboardEvent

type KeyboardEvent js.Value

func (KeyboardEvent) AltKey

func (val KeyboardEvent) AltKey() bool

func (KeyboardEvent) Bubbles

func (val KeyboardEvent) Bubbles() bool

func (KeyboardEvent) Cancelable

func (val KeyboardEvent) Cancelable() bool

func (KeyboardEvent) Code

func (val KeyboardEvent) Code() string

func (KeyboardEvent) Composed

func (val KeyboardEvent) Composed() bool

func (KeyboardEvent) CtrlKey

func (val KeyboardEvent) CtrlKey() bool

func (KeyboardEvent) CurrentTarget

func (val KeyboardEvent) CurrentTarget() js.Value

func (KeyboardEvent) DefaultPrevented

func (val KeyboardEvent) DefaultPrevented() bool

func (KeyboardEvent) Detail

func (val KeyboardEvent) Detail() int

func (KeyboardEvent) EventPhase

func (val KeyboardEvent) EventPhase() EventPhase

func (KeyboardEvent) GetModifierState

func (val KeyboardEvent) GetModifierState() bool

func (KeyboardEvent) IsComposing

func (val KeyboardEvent) IsComposing() bool

func (KeyboardEvent) IsTrusted

func (val KeyboardEvent) IsTrusted() bool

func (KeyboardEvent) Key

func (val KeyboardEvent) Key() string

func (KeyboardEvent) Location

func (val KeyboardEvent) Location() string

func (KeyboardEvent) MetaKey

func (val KeyboardEvent) MetaKey() bool

func (KeyboardEvent) PreventDefault

func (val KeyboardEvent) PreventDefault()

func (KeyboardEvent) Repeat

func (val KeyboardEvent) Repeat() bool

func (KeyboardEvent) ShiftKey

func (val KeyboardEvent) ShiftKey() bool

func (KeyboardEvent) StopImmediatePropagation

func (val KeyboardEvent) StopImmediatePropagation()

func (KeyboardEvent) StopPropagation

func (val KeyboardEvent) StopPropagation()

func (KeyboardEvent) Target

func (val KeyboardEvent) Target() js.Value

func (KeyboardEvent) TimeStamp

func (val KeyboardEvent) TimeStamp() time.Time

func (KeyboardEvent) Type

func (val KeyboardEvent) Type() string

func (KeyboardEvent) View

func (val KeyboardEvent) View() js.Value

type MessageEvent

type MessageEvent js.Value

func (MessageEvent) Bubbles

func (val MessageEvent) Bubbles() bool

func (MessageEvent) Cancelable

func (val MessageEvent) Cancelable() bool

func (MessageEvent) Composed

func (val MessageEvent) Composed() bool

func (MessageEvent) CurrentTarget

func (val MessageEvent) CurrentTarget() js.Value

func (MessageEvent) Data

func (val MessageEvent) Data() string

func (MessageEvent) DefaultPrevented

func (val MessageEvent) DefaultPrevented() bool

func (MessageEvent) EventPhase

func (val MessageEvent) EventPhase() EventPhase

func (MessageEvent) IsTrusted

func (val MessageEvent) IsTrusted() bool

func (MessageEvent) LastEventID

func (val MessageEvent) LastEventID() string

func (MessageEvent) Origin

func (val MessageEvent) Origin() string

func (MessageEvent) PreventDefault

func (val MessageEvent) PreventDefault()

func (MessageEvent) StopImmediatePropagation

func (val MessageEvent) StopImmediatePropagation()

func (MessageEvent) StopPropagation

func (val MessageEvent) StopPropagation()

func (MessageEvent) Target

func (val MessageEvent) Target() js.Value

func (MessageEvent) TimeStamp

func (val MessageEvent) TimeStamp() time.Time

func (MessageEvent) Type

func (val MessageEvent) Type() string

type MouseEvent

type MouseEvent js.Value

func (MouseEvent) AltKey

func (val MouseEvent) AltKey() bool

func (MouseEvent) Bubbles

func (val MouseEvent) Bubbles() bool

func (MouseEvent) Button

func (val MouseEvent) Button() int

func (MouseEvent) Buttons

func (val MouseEvent) Buttons() int

func (MouseEvent) Cancelable

func (val MouseEvent) Cancelable() bool

func (MouseEvent) ClientX

func (val MouseEvent) ClientX() float64

func (MouseEvent) ClientY

func (val MouseEvent) ClientY() float64

func (MouseEvent) Composed

func (val MouseEvent) Composed() bool

func (MouseEvent) CtrlKey

func (val MouseEvent) CtrlKey() bool

func (MouseEvent) CurrentTarget

func (val MouseEvent) CurrentTarget() js.Value

func (MouseEvent) DefaultPrevented

func (val MouseEvent) DefaultPrevented() bool

func (MouseEvent) Detail

func (val MouseEvent) Detail() int

func (MouseEvent) EventPhase

func (val MouseEvent) EventPhase() EventPhase

func (MouseEvent) GetModifierState

func (val MouseEvent) GetModifierState(key int) bool

func (MouseEvent) IsTrusted

func (val MouseEvent) IsTrusted() bool

func (MouseEvent) MetaKey

func (val MouseEvent) MetaKey() bool

func (MouseEvent) MovementX

func (val MouseEvent) MovementX() int

func (MouseEvent) MovementY

func (val MouseEvent) MovementY() int

func (MouseEvent) OffsetX

func (val MouseEvent) OffsetX() float64

func (MouseEvent) OffsetY

func (val MouseEvent) OffsetY() float64

func (MouseEvent) PageX

func (val MouseEvent) PageX() float64

func (MouseEvent) PageY

func (val MouseEvent) PageY() float64

func (MouseEvent) PreventDefault

func (val MouseEvent) PreventDefault()

func (MouseEvent) RelatedTarget

func (val MouseEvent) RelatedTarget() js.Value

func (MouseEvent) ShiftKey

func (val MouseEvent) ShiftKey() bool

func (MouseEvent) StopImmediatePropagation

func (val MouseEvent) StopImmediatePropagation()

func (MouseEvent) StopPropagation

func (val MouseEvent) StopPropagation()

func (MouseEvent) Target

func (val MouseEvent) Target() js.Value

func (MouseEvent) TimeStamp

func (val MouseEvent) TimeStamp() time.Time

func (MouseEvent) Type

func (val MouseEvent) Type() string

func (MouseEvent) View

func (val MouseEvent) View() js.Value

func (MouseEvent) X

func (val MouseEvent) X() float64

func (MouseEvent) Y

func (val MouseEvent) Y() float64

type Node

type Node interface {
	BaseURI() string
	ChildNodes() NodeList
	FirstChild() Node
	IsConnected() bool
	LastChild() Node
	NextSibling() Node
	NodeName() string
	NodeType() NodeType
	NodeValue() Node
	ParentNode() Node
	ParentElement() Element
	PreviousSibling() Node
	TextContent() string
	SetTextContent(textContent string)
	AddEventListener(eventType string, listener js.Func, options AddEventListenerOptions, useCapture bool)
	RemoveEventListener(eventType string, listener js.Func, options AddEventListenerOptions, useCapture bool)
	DispatchEvent(event Event) bool
	AppendChild(aChild Node) Node
	CloneNode(deep bool) Node
	CompareDocumentPosition(otherNode Node) DocumentPosition
	Contains(node Node) bool
	GetRootNode(options GetRootNodeOptions) Node
	HasChildNodes() bool
	InsertBefore(newNode Node, referenceNode Node) Element
	IsDefaultNamespace(namespaceURL string) bool
	IsEqualNode(otherNode Node) bool
	IsOtherNode(otherNode Node) bool
	LookupPrefix(prefix string) string
	LookupNamespaceURI(prefix string) string
	Normalize()
	RemoveChild(child Node)
	ReplaceChild(newChild Node, oldChild Node)
}

type NodeList

type NodeList js.Value

func (NodeList) Item

func (val NodeList) Item(index int) Node

func (NodeList) Length

func (val NodeList) Length() int

type NodeType

type NodeType uint8
const (
	NodeTypeElement NodeType = iota + 1
	NodeTypeAttribute
	NodeTypeText
	NodeTypeCdataSection
	NodeTypeProcessingInstruction
	NodeTypeComment
	NodeTypeDocument
	NodeTypeDocumentType
	NodeTypeDocumentFragment
)

type SVGElement

type SVGElement js.Value

func (SVGElement) AddEventListener

func (val SVGElement) AddEventListener(eventType string, listener js.Func, options AddEventListenerOptions, useCapture bool)

func (SVGElement) After

func (val SVGElement) After(node ...Node)

func (SVGElement) Append

func (val SVGElement) Append(params ...Node)

func (SVGElement) AppendChild

func (val SVGElement) AppendChild(aChild Node) Node

func (SVGElement) BaseURI

func (val SVGElement) BaseURI() string

func (SVGElement) Before

func (val SVGElement) Before(params ...Node)

func (SVGElement) ChildElementCount

func (val SVGElement) ChildElementCount() int

func (SVGElement) ChildNodes

func (val SVGElement) ChildNodes() NodeList

func (SVGElement) Children

func (val SVGElement) Children() HTMLCollection

func (SVGElement) ClassList

func (val SVGElement) ClassList() DOMTokenList

func (SVGElement) ClassName

func (val SVGElement) ClassName() string

func (SVGElement) ClientHeight

func (val SVGElement) ClientHeight() int

func (SVGElement) ClientLeft

func (val SVGElement) ClientLeft() int

func (SVGElement) ClientTop

func (val SVGElement) ClientTop() int

func (SVGElement) ClientWidth

func (val SVGElement) ClientWidth() int

func (SVGElement) CloneNode

func (val SVGElement) CloneNode(deep bool) Node

func (SVGElement) Closest

func (val SVGElement) Closest(selector string) Element

func (SVGElement) CompareDocumentPosition

func (val SVGElement) CompareDocumentPosition(otherNode Node) DocumentPosition

func (SVGElement) Contains

func (val SVGElement) Contains(node Node) bool

func (SVGElement) DispatchEvent

func (val SVGElement) DispatchEvent(event Event) bool

func (SVGElement) FirstChild

func (val SVGElement) FirstChild() Node

func (SVGElement) FirstElementChild

func (val SVGElement) FirstElementChild() Element

func (SVGElement) GetAttribute

func (val SVGElement) GetAttribute(name string) string

func (SVGElement) GetAttributeNames

func (val SVGElement) GetAttributeNames() string

func (SVGElement) GetBoundingClientRect

func (val SVGElement) GetBoundingClientRect() DOMRect

func (SVGElement) GetElementByID

func (val SVGElement) GetElementByID(id string) Element

func (SVGElement) GetElementsByClassName

func (val SVGElement) GetElementsByClassName(names string) HTMLCollection

func (SVGElement) GetElementsByTagName

func (val SVGElement) GetElementsByTagName(tagName string) HTMLCollection

func (SVGElement) GetElementsByTagNameNS

func (val SVGElement) GetElementsByTagNameNS(namespaceURI string, localName string) HTMLCollection

func (SVGElement) GetRootNode

func (val SVGElement) GetRootNode(options GetRootNodeOptions) Node

func (SVGElement) HasAttribute

func (val SVGElement) HasAttribute(name string) bool

func (SVGElement) HasAttributeNS

func (val SVGElement) HasAttributeNS(namespaceURI string, localName string) bool

func (SVGElement) HasAttributes

func (val SVGElement) HasAttributes() bool

func (SVGElement) HasChildNodes

func (val SVGElement) HasChildNodes() bool

func (SVGElement) HasPointerCapture

func (val SVGElement) HasPointerCapture(pointerId int) bool

func (SVGElement) ID

func (val SVGElement) ID() string

func (SVGElement) InnerHTML

func (val SVGElement) InnerHTML() string

func (SVGElement) InsertAdjacentElement

func (val SVGElement) InsertAdjacentElement(position AdjacentPosition, element Element) Element

func (SVGElement) InsertAdjacentHTML

func (val SVGElement) InsertAdjacentHTML(position AdjacentPosition, text string)

func (SVGElement) InsertAdjacentText

func (val SVGElement) InsertAdjacentText(position AdjacentPosition, text string)

func (SVGElement) InsertBefore

func (val SVGElement) InsertBefore(newNode Node, referenceNode Node) Element

func (SVGElement) IsConnected

func (val SVGElement) IsConnected() bool

func (SVGElement) IsDefaultNamespace

func (val SVGElement) IsDefaultNamespace(namespaceURL string) bool

func (SVGElement) IsEqualNode

func (val SVGElement) IsEqualNode(otherNode Node) bool

func (SVGElement) IsOtherNode

func (val SVGElement) IsOtherNode(otherNode Node) bool

func (SVGElement) LastChild

func (val SVGElement) LastChild() Node

func (SVGElement) LocalName

func (val SVGElement) LocalName() string

func (SVGElement) LookupNamespaceURI

func (val SVGElement) LookupNamespaceURI(prefix string) string

func (SVGElement) LookupPrefix

func (val SVGElement) LookupPrefix(prefix string) string

func (SVGElement) Matches

func (val SVGElement) Matches(selectors string) HTMLCollection

func (SVGElement) NamespaceURI

func (val SVGElement) NamespaceURI() string

func (SVGElement) NextElementSibling

func (val SVGElement) NextElementSibling() Element

func (SVGElement) NextSibling

func (val SVGElement) NextSibling() Node

func (SVGElement) NodeName

func (val SVGElement) NodeName() string

func (SVGElement) NodeType

func (val SVGElement) NodeType() NodeType

func (SVGElement) NodeValue

func (val SVGElement) NodeValue() Node

func (SVGElement) Normalize

func (val SVGElement) Normalize()

func (SVGElement) OuterHTML

func (val SVGElement) OuterHTML() string

func (SVGElement) ParentElement

func (val SVGElement) ParentElement() Element

func (SVGElement) ParentNode

func (val SVGElement) ParentNode() Node

func (SVGElement) Part

func (val SVGElement) Part() DOMTokenList

func (SVGElement) Prefix

func (val SVGElement) Prefix() string

func (SVGElement) Prepend

func (val SVGElement) Prepend(nodes ...Node)

func (SVGElement) PreviousElementSibling

func (val SVGElement) PreviousElementSibling() Element

func (SVGElement) PreviousSibling

func (val SVGElement) PreviousSibling() Node

func (SVGElement) QuerySelector

func (val SVGElement) QuerySelector(selectors string) Element

func (SVGElement) QuerySelectorAll

func (val SVGElement) QuerySelectorAll(selectors string) NodeList

func (SVGElement) ReleasePointerCapture

func (val SVGElement) ReleasePointerCapture(pointerId int)

func (SVGElement) Remove

func (val SVGElement) Remove()

func (SVGElement) RemoveAttribute

func (val SVGElement) RemoveAttribute(attrName string)

func (SVGElement) RemoveAttributeNS

func (val SVGElement) RemoveAttributeNS(namespaceURI string, localName string)

func (SVGElement) RemoveChild

func (val SVGElement) RemoveChild(child Node)

func (SVGElement) RemoveEventListener

func (val SVGElement) RemoveEventListener(eventType string, listener js.Func, options AddEventListenerOptions, useCapture bool)

func (SVGElement) ReplaceChild

func (val SVGElement) ReplaceChild(newChild Node, oldChild Node)

func (SVGElement) ReplaceChildren

func (val SVGElement) ReplaceChildren(node ...Node)

func (SVGElement) ReplaceWith

func (val SVGElement) ReplaceWith(node ...Node)

func (SVGElement) Scroll

func (val SVGElement) Scroll(options ScrollOptions)

func (SVGElement) ScrollBy

func (val SVGElement) ScrollBy(options ScrollOptions)

func (SVGElement) ScrollHeight

func (val SVGElement) ScrollHeight() int

func (SVGElement) ScrollIntoView

func (val SVGElement) ScrollIntoView(options ScrollIntoViewOptions)

func (SVGElement) ScrollLeft

func (val SVGElement) ScrollLeft() int

func (SVGElement) ScrollTo

func (val SVGElement) ScrollTo(options ScrollOptions)

func (SVGElement) ScrollTop

func (val SVGElement) ScrollTop() int

func (SVGElement) ScrollWidth

func (val SVGElement) ScrollWidth() int

func (SVGElement) SetAttribute

func (val SVGElement) SetAttribute(name string, value string)

func (SVGElement) SetAttributeNS

func (val SVGElement) SetAttributeNS(namespace string, name string, value string)

func (SVGElement) SetInnerHTML

func (val SVGElement) SetInnerHTML(innerHTML string)

func (SVGElement) SetPointerCapture

func (val SVGElement) SetPointerCapture(pointerId int)

func (SVGElement) SetTextContent

func (val SVGElement) SetTextContent(textContent string)

func (SVGElement) Slot

func (val SVGElement) Slot() string

func (SVGElement) TagName

func (val SVGElement) TagName() string

func (SVGElement) TextContent

func (val SVGElement) TextContent() string

func (SVGElement) ToggleAttribute

func (val SVGElement) ToggleAttribute(name string)

type ScrollAlignment

type ScrollAlignment string
const (
	ScrollAlignmentStart   ScrollAlignment = "start"
	ScrollAlignmentCenter  ScrollAlignment = "center"
	ScrollAlignmentEnd     ScrollAlignment = "end"
	ScrollAlignmentNearest ScrollAlignment = "nearest"
)

type ScrollBehavior

type ScrollBehavior string

type ScrollIntoViewOptions

type ScrollIntoViewOptions map[string]any

type ScrollOptions

type ScrollOptions map[string]any

func (ScrollOptions) SetBehavior

func (options ScrollOptions) SetBehavior(behavior ScrollBehavior) ScrollOptions

func (ScrollOptions) SetLeft

func (options ScrollOptions) SetLeft(value int) ScrollOptions

func (ScrollOptions) SetTop

func (options ScrollOptions) SetTop(value int) ScrollOptions

type SecurityPolicyViolationEvent

type SecurityPolicyViolationEvent js.Value

func (SecurityPolicyViolationEvent) BlockedURI

func (val SecurityPolicyViolationEvent) BlockedURI() string

func (SecurityPolicyViolationEvent) Bubbles

func (val SecurityPolicyViolationEvent) Bubbles() bool

func (SecurityPolicyViolationEvent) Cancelable

func (val SecurityPolicyViolationEvent) Cancelable() bool

func (SecurityPolicyViolationEvent) ColumnNumber

func (val SecurityPolicyViolationEvent) ColumnNumber() int

func (SecurityPolicyViolationEvent) Composed

func (val SecurityPolicyViolationEvent) Composed() bool

func (SecurityPolicyViolationEvent) CurrentTarget

func (val SecurityPolicyViolationEvent) CurrentTarget() js.Value

func (SecurityPolicyViolationEvent) DefaultPrevented

func (val SecurityPolicyViolationEvent) DefaultPrevented() bool

func (SecurityPolicyViolationEvent) Disposition

func (val SecurityPolicyViolationEvent) Disposition() string

func (SecurityPolicyViolationEvent) DocumentURI

func (val SecurityPolicyViolationEvent) DocumentURI() string

func (SecurityPolicyViolationEvent) EffectiveDirective

func (val SecurityPolicyViolationEvent) EffectiveDirective() string

func (SecurityPolicyViolationEvent) EventPhase

func (val SecurityPolicyViolationEvent) EventPhase() EventPhase

func (SecurityPolicyViolationEvent) IsTrusted

func (val SecurityPolicyViolationEvent) IsTrusted() bool

func (SecurityPolicyViolationEvent) LineNumber

func (val SecurityPolicyViolationEvent) LineNumber() int

func (SecurityPolicyViolationEvent) OriginalPolicy

func (val SecurityPolicyViolationEvent) OriginalPolicy() string

func (SecurityPolicyViolationEvent) PreventDefault

func (val SecurityPolicyViolationEvent) PreventDefault()

func (SecurityPolicyViolationEvent) Referrer

func (val SecurityPolicyViolationEvent) Referrer() string

func (SecurityPolicyViolationEvent) SourceFile

func (val SecurityPolicyViolationEvent) SourceFile() string

func (SecurityPolicyViolationEvent) StatusCode

func (val SecurityPolicyViolationEvent) StatusCode() int

func (SecurityPolicyViolationEvent) StopImmediatePropagation

func (val SecurityPolicyViolationEvent) StopImmediatePropagation()

func (SecurityPolicyViolationEvent) StopPropagation

func (val SecurityPolicyViolationEvent) StopPropagation()

func (SecurityPolicyViolationEvent) Target

func (val SecurityPolicyViolationEvent) Target() js.Value

func (SecurityPolicyViolationEvent) TimeStamp

func (val SecurityPolicyViolationEvent) TimeStamp() time.Time

func (SecurityPolicyViolationEvent) Type

func (SecurityPolicyViolationEvent) ViolatedDirective

func (val SecurityPolicyViolationEvent) ViolatedDirective() string

type StaticRange

type StaticRange js.Value

func (StaticRange) Collapsed

func (val StaticRange) Collapsed() bool

func (StaticRange) EndContainer

func (val StaticRange) EndContainer() Node

func (StaticRange) EndOffset

func (val StaticRange) EndOffset() int

func (StaticRange) StartContainer

func (val StaticRange) StartContainer() Node

func (StaticRange) StartOffset

func (val StaticRange) StartOffset() int

type StringMap

type StringMap js.Value

StringMap is a DOMStringMap

func (StringMap) Delete

func (m StringMap) Delete(name string)

func (StringMap) Get

func (m StringMap) Get(name string) string

func (StringMap) Set

func (m StringMap) Set(name, value string)

type Text

type Text js.Value

func (Text) AddEventListener

func (val Text) AddEventListener(eventType string, listener js.Func, options AddEventListenerOptions, useCapture bool)

func (Text) AppendChild

func (val Text) AppendChild(aChild Node) Node

func (Text) AssignedSlot

func (val Text) AssignedSlot() Element

func (Text) BaseURI

func (val Text) BaseURI() string

func (Text) ChildNodes

func (val Text) ChildNodes() NodeList

func (Text) CloneNode

func (val Text) CloneNode(deep bool) Node

func (Text) CompareDocumentPosition

func (val Text) CompareDocumentPosition(otherNode Node) DocumentPosition

func (Text) Contains

func (val Text) Contains(node Node) bool

func (Text) Data

func (val Text) Data() string

func (Text) DispatchEvent

func (val Text) DispatchEvent(event Event) bool

func (Text) FirstChild

func (val Text) FirstChild() Node

func (Text) GetRootNode

func (val Text) GetRootNode(options GetRootNodeOptions) Node

func (Text) HasChildNodes

func (val Text) HasChildNodes() bool

func (Text) InsertBefore

func (val Text) InsertBefore(newNode Node, referenceNode Node) Element

func (Text) IsConnected

func (val Text) IsConnected() bool

func (Text) IsDefaultNamespace

func (val Text) IsDefaultNamespace(namespaceURL string) bool

func (Text) IsEqualNode

func (val Text) IsEqualNode(otherNode Node) bool

func (Text) IsOtherNode

func (val Text) IsOtherNode(otherNode Node) bool

func (Text) LastChild

func (val Text) LastChild() Node

func (Text) Length

func (val Text) Length() int

func (Text) LookupNamespaceURI

func (val Text) LookupNamespaceURI(prefix string) string

func (Text) LookupPrefix

func (val Text) LookupPrefix(prefix string) string

func (Text) NextElementSibling

func (val Text) NextElementSibling() Element

func (Text) NextSibling

func (val Text) NextSibling() Node

func (Text) NodeName

func (val Text) NodeName() string

func (Text) NodeType

func (val Text) NodeType() NodeType

func (Text) NodeValue

func (val Text) NodeValue() Node

func (Text) Normalize

func (val Text) Normalize()

func (Text) ParentElement

func (val Text) ParentElement() Element

func (Text) ParentNode

func (val Text) ParentNode() Node

func (Text) PreviousElementSibling

func (val Text) PreviousElementSibling() Element

func (Text) PreviousSibling

func (val Text) PreviousSibling() Node

func (Text) RemoveChild

func (val Text) RemoveChild(child Node)

func (Text) RemoveEventListener

func (val Text) RemoveEventListener(eventType string, listener js.Func, options AddEventListenerOptions, useCapture bool)

func (Text) ReplaceChild

func (val Text) ReplaceChild(newChild Node, oldChild Node)

func (Text) SetTextContent

func (val Text) SetTextContent(textContent string)

func (Text) TextContent

func (val Text) TextContent() string

func (Text) WholeText

func (val Text) WholeText() string

type UIEvent

type UIEvent js.Value

func (UIEvent) Bubbles

func (val UIEvent) Bubbles() bool

func (UIEvent) Cancelable

func (val UIEvent) Cancelable() bool

func (UIEvent) Composed

func (val UIEvent) Composed() bool

func (UIEvent) CurrentTarget

func (val UIEvent) CurrentTarget() js.Value

func (UIEvent) DefaultPrevented

func (val UIEvent) DefaultPrevented() bool

func (UIEvent) Detail

func (val UIEvent) Detail() int

func (UIEvent) EventPhase

func (val UIEvent) EventPhase() EventPhase

func (UIEvent) IsTrusted

func (val UIEvent) IsTrusted() bool

func (UIEvent) PreventDefault

func (val UIEvent) PreventDefault()

func (UIEvent) StopImmediatePropagation

func (val UIEvent) StopImmediatePropagation()

func (UIEvent) StopPropagation

func (val UIEvent) StopPropagation()

func (UIEvent) Target

func (val UIEvent) Target() js.Value

func (UIEvent) TimeStamp

func (val UIEvent) TimeStamp() time.Time

func (UIEvent) Type

func (val UIEvent) Type() string

func (UIEvent) View

func (val UIEvent) View() js.Value

type Window

type Window js.Value

func IFrameContentWindow

func IFrameContentWindow(el Element) Window

func (Window) AddEventListener

func (val Window) AddEventListener(eventType string, listener js.Func, options AddEventListenerOptions, useCapture bool)

func (Window) Alert

func (val Window) Alert(message string)

func (Window) Blur

func (val Window) Blur()

func (Window) Close

func (val Window) Close()

func (Window) Confirm

func (val Window) Confirm(message string) bool

func (Window) DispatchEvent

func (val Window) DispatchEvent(event Event) bool

func (Window) Document

func (val Window) Document() Document

func (Window) Focus

func (val Window) Focus()

func (Window) FrameElement

func (val Window) FrameElement() Element

func (Window) GetComputedStyle

func (val Window) GetComputedStyle(el Element)

func (Window) InnerHeight

func (val Window) InnerHeight() int

func (Window) InnerWidth

func (val Window) InnerWidth() int

func (Window) IsSecureContext

func (val Window) IsSecureContext() bool

func (Window) Name

func (val Window) Name() string

func (Window) Open

func (val Window) Open(url string, target string, windowFeatures string)

func (Window) Parent

func (val Window) Parent() Window

func (Window) PostMessage

func (val Window) PostMessage(message any, postMessage string)

func (Window) Prompt

func (val Window) Prompt(message string, defaultValue string) string

func (Window) RemoveEventListener

func (val Window) RemoveEventListener(eventType string, listener js.Func, options AddEventListenerOptions, useCapture bool)

Jump to

Keyboard shortcuts

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