html

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bootstrap

func Bootstrap[T any](reg js.ClassBuilder[T])

func ClearInterval added in v0.8.0

func ClearInterval[T any](cbCtx js.CallbackContext[T]) (js.Value[T], error)

func ClearTimeout added in v0.8.0

func ClearTimeout[T any](cbCtx js.CallbackContext[T]) (js.Value[T], error)

func InitBuilder

func InitBuilder[T any](reg js.ClassBuilder[T])

func Initialize

func Initialize[T any](host js.ScriptEngine[T])

func QueueMicrotask added in v0.8.0

func QueueMicrotask[T any](cbCtx js.CallbackContext[T]) (js.Value[T], error)

func SetInterval added in v0.8.0

func SetInterval[T any](cbCtx js.CallbackContext[T]) (js.Value[T], error)

func SetTimeout added in v0.8.0

func SetTimeout[T any](cbCtx js.CallbackContext[T]) (js.Value[T], error)

Types

type DOMStringMap

type DOMStringMap[T any] struct{}

func NewDOMStringMap

func NewDOMStringMap[T any](host js.ScriptEngine[T]) DOMStringMap[T]

func (DOMStringMap[T]) Constructor

func (w DOMStringMap[T]) Constructor(info js.CallbackContext[T]) (js.Value[T], error)

func (DOMStringMap[T]) Initialize

func (w DOMStringMap[T]) Initialize(class js.Class[T])

func (DOMStringMap[T]) NamedPropertyDelete

func (w DOMStringMap[T]) NamedPropertyDelete(
	info js.CallbackScope[T], key js.Value[T],
) (bool, error)

func (DOMStringMap[T]) NamedPropertyEnumerator

func (w DOMStringMap[T]) NamedPropertyEnumerator(info js.CallbackScope[T]) ([]js.Value[T], error)

func (DOMStringMap[T]) NamedPropertyGet

func (w DOMStringMap[T]) NamedPropertyGet(
	info js.CallbackScope[T], key js.Value[T],
) (js.Value[T], error)

func (DOMStringMap[T]) NamedPropertySet

func (w DOMStringMap[T]) NamedPropertySet(
	info js.CallbackScope[T], key, value js.Value[T],
) error

type HTMLAnchorElement

type HTMLAnchorElement[T any] struct {
	// contains filtered or unexported fields
}

func NewHTMLAnchorElement

func NewHTMLAnchorElement[T any](scriptHost js.ScriptEngine[T]) *HTMLAnchorElement[T]

func (HTMLAnchorElement[T]) Constructor

func (w HTMLAnchorElement[T]) Constructor(cbCtx js.CallbackContext[T]) (js.Value[T], error)

func (HTMLAnchorElement[T]) Initialize

func (wrapper HTMLAnchorElement[T]) Initialize(jsClass js.Class[T])

type HTMLDocument

type HTMLDocument[T any] struct {
	dom.Document[T]
}

func NewHTMLDocument

func NewHTMLDocument[T any](host js.ScriptEngine[T]) HTMLDocument[T]

func (HTMLDocument[T]) Constructor

func (w HTMLDocument[T]) Constructor(c js.CallbackContext[T]) (js.Value[T], error)

type HTMLElement

type HTMLElement[T any] struct {
	// contains filtered or unexported fields
}

func NewHTMLElement

func NewHTMLElement[T any](scriptHost js.ScriptEngine[T]) *HTMLElement[T]

func (HTMLElement[T]) Constructor

func (w HTMLElement[T]) Constructor(cbCtx js.CallbackContext[T]) (js.Value[T], error)

func (HTMLElement[T]) Initialize

func (wrapper HTMLElement[T]) Initialize(jsClass js.Class[T])

type HTMLFormElement

type HTMLFormElement[T any] struct{}

func NewHTMLFormElement

func NewHTMLFormElement[T any](scriptHost js.ScriptEngine[T]) *HTMLFormElement[T]

func (HTMLFormElement[T]) Constructor

func (w HTMLFormElement[T]) Constructor(cbCtx js.CallbackContext[T]) (js.Value[T], error)

func (HTMLFormElement[T]) Initialize

func (wrapper HTMLFormElement[T]) Initialize(jsClass js.Class[T])

type HTMLHyperlinkElementUtils

type HTMLHyperlinkElementUtils[T any] struct{}

func NewHTMLHyperlinkElementUtils

func NewHTMLHyperlinkElementUtils[T any](scriptHost js.ScriptEngine[T]) *HTMLHyperlinkElementUtils[T]

func (HTMLHyperlinkElementUtils[T]) Constructor

func (w HTMLHyperlinkElementUtils[T]) Constructor(cbCtx js.CallbackContext[T]) (js.Value[T], error)

func (HTMLHyperlinkElementUtils[T]) Initialize

func (wrapper HTMLHyperlinkElementUtils[T]) Initialize(jsClass js.Class[T])

type HTMLInputElement

type HTMLInputElement[T any] struct{}

func NewHTMLInputElement

func NewHTMLInputElement[T any](scriptHost js.ScriptEngine[T]) *HTMLInputElement[T]

func (HTMLInputElement[T]) Constructor

func (w HTMLInputElement[T]) Constructor(cbCtx js.CallbackContext[T]) (js.Value[T], error)

func (HTMLInputElement[T]) Initialize

func (wrapper HTMLInputElement[T]) Initialize(jsClass js.Class[T])

type HTMLOrSVGElement

type HTMLOrSVGElement[T any] struct{}

func NewHTMLOrSVGElement

func NewHTMLOrSVGElement[T any](scriptHost js.ScriptEngine[T]) *HTMLOrSVGElement[T]

func (HTMLOrSVGElement[T]) Constructor

func (w HTMLOrSVGElement[T]) Constructor(cbCtx js.CallbackContext[T]) (js.Value[T], error)

func (HTMLOrSVGElement[T]) Initialize

func (wrapper HTMLOrSVGElement[T]) Initialize(jsClass js.Class[T])

type HTMLTemplateElement

type HTMLTemplateElement[T any] struct{}

func NewHTMLTemplateElement

func NewHTMLTemplateElement[T any](scriptHost js.ScriptEngine[T]) *HTMLTemplateElement[T]

func (HTMLTemplateElement[T]) Constructor

func (w HTMLTemplateElement[T]) Constructor(cbCtx js.CallbackContext[T]) (js.Value[T], error)

func (HTMLTemplateElement[T]) CreateInstance

func (e HTMLTemplateElement[T]) CreateInstance(
	ctx js.ScriptEngine[T],
	this js.Object[T],
) (js.Value[T], error)

func (HTMLTemplateElement[T]) Initialize

func (wrapper HTMLTemplateElement[T]) Initialize(jsClass js.Class[T])

type History

type History[T any] struct{}

func NewHistory

func NewHistory[T any](scriptHost js.ScriptEngine[T]) *History[T]

func (History[T]) Constructor

func (w History[T]) Constructor(cbCtx js.CallbackContext[T]) (js.Value[T], error)

func (History[T]) Initialize

func (wrapper History[T]) Initialize(jsClass js.Class[T])

type Location

type Location[T any] struct{}

func NewLocation

func NewLocation[T any](scriptHost js.ScriptEngine[T]) *Location[T]

func (Location[T]) Constructor

func (w Location[T]) Constructor(cbCtx js.CallbackContext[T]) (js.Value[T], error)

func (Location[T]) Initialize

func (wrapper Location[T]) Initialize(jsClass js.Class[T])

type Window

type Window[T any] struct{}

func NewWindow

func NewWindow[T any](scriptHost js.ScriptEngine[T]) *Window[T]

func (Window[T]) Constructor

func (w Window[T]) Constructor(cbCtx js.CallbackContext[T]) (js.Value[T], error)

func (Window[T]) Initialize

func (wrapper Window[T]) Initialize(jsClass js.Class[T])

Jump to

Keyboard shortcuts

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