Documentation
¶
Index ¶
- func Bootstrap[T any](reg js.ClassBuilder[T])
- func Configure[T any](host js.ScriptEngine[T])
- func NewCustomEvent[T any](scriptHost js.ScriptEngine[T]) *customEvent[T]
- type AbortController
- type AbortSignal
- type Attr
- type CharacterData
- type ChildNode
- type DOMTokenList
- type Document
- func (w Document[T]) Constructor(cbCtx js.CallbackContext[T]) (js.Value[T], error)
- func (w *Document[T]) CreateInstance(cbCtx js.CallbackContext[T]) (js.Value[T], error)
- func (w *Document[T]) CustomInitializer(class js.Class[T])
- func (wrapper Document[T]) Initialize(jsClass js.Class[T])
- func (w Document[T]) URL(cbCtx js.CallbackContext[T]) (js.Value[T], error)
- type DocumentFragment
- type Element
- type Event
- type EventTarget
- type HTMLCollection
- type MutationCallback
- type MutationObserver
- type MutationRecord
- type NamedNodeMap
- type Node
- type NodeList
- type NonDocumentTypeChildNode
- type ParentNode
- type Text
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Bootstrap ¶
func Bootstrap[T any](reg js.ClassBuilder[T])
func Configure ¶
func Configure[T any](host js.ScriptEngine[T])
func NewCustomEvent ¶
func NewCustomEvent[T any](scriptHost js.ScriptEngine[T]) *customEvent[T]
Types ¶
type AbortController ¶ added in v0.8.0
type AbortController[T any] struct{}
func NewAbortController ¶ added in v0.8.0
func NewAbortController[T any](scriptHost js.ScriptEngine[T]) *AbortController[T]
func (AbortController[T]) Constructor ¶ added in v0.8.0
func (w AbortController[T]) Constructor(cbCtx js.CallbackContext[T]) (js.Value[T], error)
func (AbortController[T]) CreateInstance ¶ added in v0.8.0
func (w AbortController[T]) CreateInstance(cbCtx js.CallbackContext[T]) (js.Value[T], error)
func (AbortController[T]) Initialize ¶ added in v0.8.0
func (wrapper AbortController[T]) Initialize(jsClass js.Class[T])
type AbortSignal ¶ added in v0.8.0
type AbortSignal[T any] struct{}
func NewAbortSignal ¶ added in v0.8.0
func NewAbortSignal[T any](scriptHost js.ScriptEngine[T]) *AbortSignal[T]
func (AbortSignal[T]) Constructor ¶ added in v0.8.0
func (w AbortSignal[T]) Constructor(cbCtx js.CallbackContext[T]) (js.Value[T], error)
func (AbortSignal[T]) Initialize ¶ added in v0.8.0
func (wrapper AbortSignal[T]) Initialize(jsClass js.Class[T])
type CharacterData ¶ added in v0.8.0
type CharacterData[T any] struct { // contains filtered or unexported fields }
func NewCharacterData ¶ added in v0.8.0
func NewCharacterData[T any](scriptHost js.ScriptEngine[T]) *CharacterData[T]
func (CharacterData[T]) Constructor ¶ added in v0.8.0
func (w CharacterData[T]) Constructor(cbCtx js.CallbackContext[T]) (js.Value[T], error)
func (CharacterData[T]) Initialize ¶ added in v0.8.0
func (wrapper CharacterData[T]) Initialize(jsClass js.Class[T])
type ChildNode ¶ added in v0.8.0
type ChildNode[T any] struct{}
func NewChildNode ¶ added in v0.8.0
func NewChildNode[T any](scriptHost js.ScriptEngine[T]) *ChildNode[T]
func (ChildNode[T]) Constructor ¶ added in v0.8.0
func (ChildNode[T]) Initialize ¶ added in v0.8.0
type DOMTokenList ¶
type DOMTokenList[T any] struct{}
func NewDOMTokenList ¶
func NewDOMTokenList[T any](scriptHost js.ScriptEngine[T]) *DOMTokenList[T]
func (DOMTokenList[T]) Constructor ¶
func (w DOMTokenList[T]) Constructor(cbCtx js.CallbackContext[T]) (js.Value[T], error)
func (DOMTokenList[T]) CustomInitializer ¶
func (l DOMTokenList[T]) CustomInitializer(class js.Class[T])
func (DOMTokenList[T]) Initialize ¶
func (wrapper DOMTokenList[T]) Initialize(jsClass js.Class[T])
type Document ¶
type Document[T any] struct { // contains filtered or unexported fields }
func NewDocument ¶
func NewDocument[T any](scriptHost js.ScriptEngine[T]) *Document[T]
func (Document[T]) Constructor ¶
func (*Document[T]) CreateInstance ¶
func (*Document[T]) CustomInitializer ¶
func (Document[T]) Initialize ¶
type DocumentFragment ¶
type DocumentFragment[T any] struct { // contains filtered or unexported fields }
func NewDocumentFragment ¶
func NewDocumentFragment[T any](scriptHost js.ScriptEngine[T]) *DocumentFragment[T]
func (DocumentFragment[T]) Constructor ¶
func (w DocumentFragment[T]) Constructor(ctx js.CallbackContext[T]) (js.Value[T], error)
func (DocumentFragment[T]) Initialize ¶
func (wrapper DocumentFragment[T]) Initialize(jsClass js.Class[T])
type Element ¶
type Element[T any] struct { // contains filtered or unexported fields }
func NewElement ¶
func NewElement[T any](scriptHost js.ScriptEngine[T]) *Element[T]
func (Element[T]) Constructor ¶
func (*Element[T]) CustomInitializer ¶
func (Element[T]) Initialize ¶
type Event ¶
type Event[T any] struct{}
func (Event[T]) Constructor ¶
func (Event[T]) CreateInstance ¶
func (Event[T]) Initialize ¶
type EventTarget ¶
type EventTarget[T any] struct{}
func NewEventTarget ¶
func NewEventTarget[T any](scriptHost js.ScriptEngine[T]) *EventTarget[T]
func (EventTarget[T]) Constructor ¶
func (w EventTarget[T]) Constructor(cbCtx js.CallbackContext[T]) (js.Value[T], error)
func (EventTarget[T]) CreateInstance ¶
func (w EventTarget[T]) CreateInstance(cbCtx js.CallbackContext[T]) (js.Value[T], error)
func (EventTarget[T]) Initialize ¶
func (wrapper EventTarget[T]) Initialize(jsClass js.Class[T])
type HTMLCollection ¶ added in v0.8.0
type HTMLCollection[T any] struct{}
func NewHTMLCollection ¶ added in v0.8.0
func NewHTMLCollection[T any](scriptHost js.ScriptEngine[T]) *HTMLCollection[T]
func (HTMLCollection[T]) Constructor ¶ added in v0.8.0
func (w HTMLCollection[T]) Constructor(cbCtx js.CallbackContext[T]) (js.Value[T], error)
func (*HTMLCollection[T]) CustomInitializer ¶ added in v0.8.0
func (w *HTMLCollection[T]) CustomInitializer(class js.Class[T])
func (HTMLCollection[T]) Initialize ¶ added in v0.8.0
func (wrapper HTMLCollection[T]) Initialize(jsClass js.Class[T])
type MutationCallback ¶
type MutationCallback[T any] struct { // contains filtered or unexported fields }
func (MutationCallback[T]) HandleMutation ¶
func (cb MutationCallback[T]) HandleMutation(recs []mutation.Record, obs *mutation.Observer)
type MutationObserver ¶
type MutationObserver[T any] struct{}
func NewMutationObserver ¶
func NewMutationObserver[T any](scriptHost js.ScriptEngine[T]) *MutationObserver[T]
func (MutationObserver[T]) Constructor ¶
func (w MutationObserver[T]) Constructor(cbCtx js.CallbackContext[T]) (js.Value[T], error)
func (MutationObserver[T]) CreateInstance ¶
func (w MutationObserver[T]) CreateInstance( cbCtx js.CallbackContext[T], cb mutation.Callback, ) (js.Value[T], error)
func (MutationObserver[T]) Initialize ¶
func (wrapper MutationObserver[T]) Initialize(jsClass js.Class[T])
type MutationRecord ¶
type MutationRecord[T any] struct{}
func NewMutationRecord ¶
func NewMutationRecord[T any](scriptHost js.ScriptEngine[T]) *MutationRecord[T]
func (MutationRecord[T]) Constructor ¶
func (w MutationRecord[T]) Constructor(cbCtx js.CallbackContext[T]) (js.Value[T], error)
func (MutationRecord[T]) Initialize ¶
func (wrapper MutationRecord[T]) Initialize(jsClass js.Class[T])
type NamedNodeMap ¶
type NamedNodeMap[T any] struct{}
func NewNamedNodeMap ¶
func NewNamedNodeMap[T any](scriptHost js.ScriptEngine[T]) *NamedNodeMap[T]
func (NamedNodeMap[T]) Constructor ¶
func (w NamedNodeMap[T]) Constructor(cbCtx js.CallbackContext[T]) (js.Value[T], error)
func (NamedNodeMap[T]) CustomInitializer ¶
func (w NamedNodeMap[T]) CustomInitializer(class js.Class[T])
func (NamedNodeMap[T]) Initialize ¶
func (wrapper NamedNodeMap[T]) Initialize(jsClass js.Class[T])
type NodeList ¶
type NodeList[T any] struct{}
func NewNodeList ¶
func NewNodeList[T any](scriptHost js.ScriptEngine[T]) *NodeList[T]
func (NodeList[T]) Constructor ¶
func (*NodeList[T]) CustomInitializer ¶
func (NodeList[T]) Initialize ¶
type NonDocumentTypeChildNode ¶
type NonDocumentTypeChildNode[T any] struct{}
func NewNonDocumentTypeChildNode ¶
func NewNonDocumentTypeChildNode[T any](scriptHost js.ScriptEngine[T]) *NonDocumentTypeChildNode[T]
func (NonDocumentTypeChildNode[T]) Constructor ¶
func (w NonDocumentTypeChildNode[T]) Constructor(cbCtx js.CallbackContext[T]) (js.Value[T], error)
func (NonDocumentTypeChildNode[T]) Initialize ¶
func (wrapper NonDocumentTypeChildNode[T]) Initialize(jsClass js.Class[T])
type ParentNode ¶
type ParentNode[T any] struct{}
func NewParentNode ¶
func NewParentNode[T any](scriptHost js.ScriptEngine[T]) *ParentNode[T]
func (ParentNode[T]) Constructor ¶
func (w ParentNode[T]) Constructor(cbCtx js.CallbackContext[T]) (js.Value[T], error)
func (ParentNode[T]) Initialize ¶
func (wrapper ParentNode[T]) Initialize(jsClass js.Class[T])
type Text ¶ added in v0.8.0
type Text[T any] struct{}
func (Text[T]) Constructor ¶ added in v0.8.0
func (Text[T]) Initialize ¶ added in v0.8.0
Source Files
¶
- abort_controller.go
- abort_controller_generated.go
- abort_signal_generated.go
- attr_generated.go
- character_data_generated.go
- child_node_generated.go
- configurator.go
- custom_event.go
- document.go
- document_fragment.go
- document_fragment_generated.go
- document_generated.go
- dom.go
- dom_parser.go
- dom_token_list.go
- dom_token_list_generated.go
- element.go
- element_generated.go
- event.go
- event_generated.go
- event_target.go
- event_target_generated.go
- html_collection.go
- html_collection_generated.go
- mutation_observer.go
- mutation_observer_generated.go
- mutation_record_generated.go
- named_node_map.go
- named_node_map_generated.go
- node.go
- node_generated.go
- node_list.go
- node_list_generated.go
- non_document_type_child_node_generated.go
- package.go
- parent_node.go
- parent_node_generated.go
- register_generated.go
- text_generated.go
Click to show internal directories.
Click to hide internal directories.