Documentation
¶
Index ¶
- func Bootstrap[T any](reg js.ClassBuilder[T])
- func ClearInterval[T any](cbCtx js.CallbackContext[T]) (js.Value[T], error)
- func ClearTimeout[T any](cbCtx js.CallbackContext[T]) (js.Value[T], error)
- func InitBuilder[T any](reg js.ClassBuilder[T])
- func Initialize[T any](host js.ScriptEngine[T])
- func QueueMicrotask[T any](cbCtx js.CallbackContext[T]) (js.Value[T], error)
- func SetInterval[T any](cbCtx js.CallbackContext[T]) (js.Value[T], error)
- func SetTimeout[T any](cbCtx js.CallbackContext[T]) (js.Value[T], error)
- type DOMStringMap
- func (w DOMStringMap[T]) Constructor(info js.CallbackContext[T]) (js.Value[T], error)
- func (w DOMStringMap[T]) Initialize(class js.Class[T])
- func (w DOMStringMap[T]) NamedPropertyDelete(info js.CallbackScope[T], key js.Value[T]) (bool, error)
- func (w DOMStringMap[T]) NamedPropertyEnumerator(info js.CallbackScope[T]) ([]js.Value[T], error)
- func (w DOMStringMap[T]) NamedPropertyGet(info js.CallbackScope[T], key js.Value[T]) (js.Value[T], error)
- func (w DOMStringMap[T]) NamedPropertySet(info js.CallbackScope[T], key, value js.Value[T]) error
- type HTMLAnchorElement
- type HTMLDocument
- type HTMLElement
- type HTMLFormElement
- type HTMLHyperlinkElementUtils
- type HTMLInputElement
- type HTMLOrSVGElement
- type HTMLTemplateElement
- type History
- type Location
- type Window
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 ClearTimeout ¶ added in v0.8.0
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 SetInterval ¶ added in v0.8.0
func SetTimeout ¶ added in v0.8.0
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 ¶
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 (History[T]) Initialize ¶
type Location ¶
type Location[T any] struct{}
func NewLocation ¶
func NewLocation[T any](scriptHost js.ScriptEngine[T]) *Location[T]
func (Location[T]) Constructor ¶
func (Location[T]) Initialize ¶
type Window ¶
type Window[T any] struct{}
func (Window[T]) Constructor ¶
func (Window[T]) Initialize ¶
Source Files
¶
- dom_string_map.go
- history.go
- history_generated.go
- html.go
- html_anchor_element_generated.go
- html_document.go
- html_element_generated.go
- html_form_element_generated.go
- html_hyperlink_element_utils_generated.go
- html_input_element_generated.go
- html_or_svgelement.go
- html_or_svgelement_generated.go
- html_template_element_generated.go
- initializer.go
- location_generated.go
- package.go
- register_generated.go
- window.go
- window_generated.go
Click to show internal directories.
Click to hide internal directories.