dom

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2026 License: MIT Imports: 17 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AbortControllerConstructor added in v0.11.0

func AbortControllerConstructor[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func AbortController_abort added in v0.11.0

func AbortController_abort[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func AbortController_signal added in v0.11.0

func AbortController_signal[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func AbortSignal_aborted added in v0.11.0

func AbortSignal_aborted[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func AbortSignal_reason added in v0.11.0

func AbortSignal_reason[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func AbortSignal_throwIfAborted added in v0.11.0

func AbortSignal_throwIfAborted[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func AbstractRange_collapsed added in v0.11.3

func AbstractRange_collapsed[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func AbstractRange_endContainer added in v0.11.3

func AbstractRange_endContainer[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func AbstractRange_endOffset added in v0.11.3

func AbstractRange_endOffset[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func AbstractRange_startContainer added in v0.11.3

func AbstractRange_startContainer[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func AbstractRange_startOffset added in v0.11.3

func AbstractRange_startOffset[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Attr_localName added in v0.11.0

func Attr_localName[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Attr_name added in v0.11.0

func Attr_name[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Attr_ownerElement added in v0.11.0

func Attr_ownerElement[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Attr_setValue added in v0.11.0

func Attr_setValue[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Attr_value added in v0.11.0

func Attr_value[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func CharacterData_appendData added in v0.11.0

func CharacterData_appendData[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func CharacterData_data added in v0.11.0

func CharacterData_data[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func CharacterData_deleteData added in v0.11.0

func CharacterData_deleteData[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func CharacterData_insertData added in v0.11.0

func CharacterData_insertData[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func CharacterData_length added in v0.11.0

func CharacterData_length[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func CharacterData_replaceData added in v0.11.0

func CharacterData_replaceData[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func CharacterData_setData added in v0.11.0

func CharacterData_setData[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func CharacterData_substringData added in v0.11.0

func CharacterData_substringData[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func ChildNode_after added in v0.11.0

func ChildNode_after[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func ChildNode_before added in v0.11.0

func ChildNode_before[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func ChildNode_remove added in v0.11.0

func ChildNode_remove[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func ChildNode_replaceWith added in v0.11.0

func ChildNode_replaceWith[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func ConfigureDedicatedWorkerGlobalScopeRealm added in v0.11.0

func ConfigureDedicatedWorkerGlobalScopeRealm[T any](e js.ScriptEngine[T])

func ConfigureErrors added in v0.11.0

func ConfigureErrors[T any](e js.ScriptEngine[T])

func ConfigureScriptEngine added in v0.11.0

func ConfigureScriptEngine[T any](e js.ScriptEngine[T])

func ConfigureWindowRealm added in v0.11.0

func ConfigureWindowRealm[T any](e js.ScriptEngine[T])

func CreateAbortController added in v0.11.0

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

func CreateDocument added in v0.11.0

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

func CreateEvent added in v0.11.0

func CreateEvent[T any](
	cbCtx js.CallbackContext[T],
	type_ string,
	o codec.EventInit,
) (js.Value[T], error)

func CreateEventTarget added in v0.11.0

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

func CreateMutationObserver added in v0.11.0

func CreateMutationObserver[T any](
	cbCtx js.CallbackContext[T],
	cb mutation.Callback,
) (js.Value[T], error)

func CreateText added in v0.11.0

func CreateText[T any](s js.CallbackScope[T]) (js.Value[T], error)

func CreateTextData added in v0.11.0

func CreateTextData[T any](s js.CallbackScope[T], data string) (js.Value[T], error)

func CustomEventConstructor added in v0.11.0

func CustomEventConstructor[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func CustomEvent_detail added in v0.11.0

func CustomEvent_detail[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func DOMImplementation_createDocument added in v0.11.2

func DOMImplementation_createDocument[T any](
	cbCtx js.CallbackContext[T],
) (res js.Value[T], err error)

func DOMImplementation_createDocumentType added in v0.11.2

func DOMImplementation_createDocumentType[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func DOMImplementation_createHTMLDocument added in v0.11.2

func DOMImplementation_createHTMLDocument[T any](
	cbCtx js.CallbackContext[T],
) (res js.Value[T], err error)

func DOMImplementation_hasFeature added in v0.11.2

func DOMImplementation_hasFeature[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func DOMTokenList_add added in v0.11.0

func DOMTokenList_add[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func DOMTokenList_contains added in v0.11.0

func DOMTokenList_contains[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func DOMTokenList_item added in v0.11.0

func DOMTokenList_item[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func DOMTokenList_length added in v0.11.0

func DOMTokenList_length[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func DOMTokenList_remove added in v0.11.0

func DOMTokenList_remove[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func DOMTokenList_replace added in v0.11.0

func DOMTokenList_replace[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func DOMTokenList_setValue added in v0.11.0

func DOMTokenList_setValue[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func DOMTokenList_supports added in v0.11.0

func DOMTokenList_supports[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func DOMTokenList_toggle added in v0.11.0

func DOMTokenList_toggle[T any](args js.CallbackContext[T]) (res js.Value[T], err error)

func DOMTokenList_value added in v0.11.0

func DOMTokenList_value[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func DocumentConstructor added in v0.11.0

func DocumentConstructor[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func DocumentFragmentConstructor added in v0.11.0

func DocumentFragmentConstructor[T any](ctx js.CallbackContext[T]) (js.Value[T], error)

func DocumentType_name added in v0.11.2

func DocumentType_name[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func DocumentType_publicId added in v0.11.2

func DocumentType_publicId[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func DocumentType_systemId added in v0.11.2

func DocumentType_systemId[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Document_URL added in v0.11.0

func Document_URL[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Document_adoptNode added in v0.11.0

func Document_adoptNode[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Document_characterSet added in v0.11.0

func Document_characterSet[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Document_charset added in v0.11.0

func Document_charset[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Document_compatMode added in v0.11.0

func Document_compatMode[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Document_contentType added in v0.11.0

func Document_contentType[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Document_createAttribute added in v0.11.0

func Document_createAttribute[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Document_createAttributeNS added in v0.11.0

func Document_createAttributeNS[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Document_createCDATASection added in v0.11.0

func Document_createCDATASection[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Document_createComment added in v0.11.0

func Document_createComment[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Document_createDocumentFragment added in v0.11.0

func Document_createDocumentFragment[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Document_createElement added in v0.11.0

func Document_createElement[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Document_createElementNS added in v0.11.0

func Document_createElementNS[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Document_createEvent added in v0.11.0

func Document_createEvent[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Document_createNodeIterator added in v0.11.0

func Document_createNodeIterator[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Document_createProcessingInstruction added in v0.11.0

func Document_createProcessingInstruction[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Document_createRange added in v0.11.0

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

func Document_createTextNode added in v0.11.0

func Document_createTextNode[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Document_createTreeWalker added in v0.11.0

func Document_createTreeWalker[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Document_doctype added in v0.11.0

func Document_doctype[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Document_documentElement added in v0.11.0

func Document_documentElement[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Document_documentURI added in v0.11.0

func Document_documentURI[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Document_getElementsByClassName added in v0.11.0

func Document_getElementsByClassName[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Document_getElementsByTagName added in v0.11.0

func Document_getElementsByTagName[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Document_getElementsByTagNameNS added in v0.11.0

func Document_getElementsByTagNameNS[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Document_implementation added in v0.11.0

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

func Document_importNode added in v0.11.0

func Document_importNode[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Document_inputEncoding added in v0.11.0

func Document_inputEncoding[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Element_attachShadow added in v0.11.0

func Element_attachShadow[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Element_attributes added in v0.11.0

func Element_attributes[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Element_classList added in v0.11.0

func Element_classList[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Element_className added in v0.11.0

func Element_className[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Element_closest added in v0.11.0

func Element_closest[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Element_getAttribute added in v0.11.0

func Element_getAttribute[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Element_getAttributeNS added in v0.11.0

func Element_getAttributeNS[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Element_getAttributeNames added in v0.11.0

func Element_getAttributeNames[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Element_getAttributeNode added in v0.11.0

func Element_getAttributeNode[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Element_getAttributeNodeNS added in v0.11.0

func Element_getAttributeNodeNS[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Element_getElementsByClassName added in v0.11.0

func Element_getElementsByClassName[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Element_getElementsByTagName added in v0.11.0

func Element_getElementsByTagName[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Element_getElementsByTagNameNS added in v0.11.0

func Element_getElementsByTagNameNS[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Element_hasAttribute added in v0.11.0

func Element_hasAttribute[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Element_hasAttributeNS added in v0.11.0

func Element_hasAttributeNS[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Element_hasAttributes added in v0.11.0

func Element_hasAttributes[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Element_id added in v0.11.0

func Element_id[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Element_insertAdjacentElement added in v0.11.0

func Element_insertAdjacentElement[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Element_insertAdjacentText added in v0.11.0

func Element_insertAdjacentText[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Element_localName added in v0.11.0

func Element_localName[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Element_matches added in v0.11.0

func Element_matches[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Element_namespaceURI added in v0.11.0

func Element_namespaceURI[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Element_prefix added in v0.11.0

func Element_prefix[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Element_removeAttribute added in v0.11.0

func Element_removeAttribute[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Element_removeAttributeNS added in v0.11.0

func Element_removeAttributeNS[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Element_removeAttributeNode added in v0.11.0

func Element_removeAttributeNode[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Element_setAttribute added in v0.11.0

func Element_setAttribute[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Element_setAttributeNS added in v0.11.0

func Element_setAttributeNS[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Element_setAttributeNode added in v0.11.0

func Element_setAttributeNode[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Element_setAttributeNodeNS added in v0.11.0

func Element_setAttributeNodeNS[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Element_setClassName added in v0.11.0

func Element_setClassName[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Element_setID added in v0.11.0

func Element_setID[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Element_setSlot added in v0.11.0

func Element_setSlot[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Element_shadowRoot added in v0.11.0

func Element_shadowRoot[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Element_slot added in v0.11.0

func Element_slot[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Element_tagName added in v0.11.0

func Element_tagName[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Element_toggleAttribute added in v0.11.0

func Element_toggleAttribute[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func EventConstructor added in v0.11.0

func EventConstructor[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func EventTargetConstructor added in v0.11.0

func EventTargetConstructor[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func EventTarget_addEventListener added in v0.11.0

func EventTarget_addEventListener[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func EventTarget_dispatchEvent added in v0.11.0

func EventTarget_dispatchEvent[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func EventTarget_removeEventListener added in v0.11.0

func EventTarget_removeEventListener[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Event_bubbles added in v0.11.0

func Event_bubbles[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Event_cancelable added in v0.11.0

func Event_cancelable[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Event_currentTarget added in v0.11.0

func Event_currentTarget[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Event_defaultPrevented added in v0.11.0

func Event_defaultPrevented[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Event_eventPhase added in v0.11.0

func Event_eventPhase[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Event_preventDefault added in v0.11.0

func Event_preventDefault[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Event_stopPropagation added in v0.11.0

func Event_stopPropagation[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Event_target added in v0.11.0

func Event_target[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Event_type added in v0.11.0

func Event_type[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func HTMLCollectionCustomInitializer added in v0.11.0

func HTMLCollectionCustomInitializer[T any](class js.Class[T])

func HTMLCollection_item added in v0.11.0

func HTMLCollection_item[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func HTMLCollection_length added in v0.11.0

func HTMLCollection_length[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func HTMLCollection_namedItem added in v0.11.0

func HTMLCollection_namedItem[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func HandleJSCallbackError added in v0.11.0

func HandleJSCallbackError[T any](scope js.Scope[T], cbType string, err error)

HandleJSCallbackError is to be called when calling into a JS callback function results in an error. Argument cbType represent the type of callback, e.g., event handler, mutation observer, interval, etc.

func InitializeAbortController added in v0.11.0

func InitializeAbortController[T any](jsClass js.Class[T])

func InitializeAbortSignal added in v0.11.0

func InitializeAbortSignal[T any](jsClass js.Class[T])

func InitializeAbstractRange added in v0.11.3

func InitializeAbstractRange[T any](jsClass js.Class[T])

func InitializeAttr added in v0.11.0

func InitializeAttr[T any](jsClass js.Class[T])

func InitializeCharacterData added in v0.11.0

func InitializeCharacterData[T any](jsClass js.Class[T])

func InitializeChildNode added in v0.11.0

func InitializeChildNode[T any](jsClass js.Class[T])

func InitializeCustomEvent added in v0.11.0

func InitializeCustomEvent[T any](jsClass js.Class[T])

func InitializeDOMImplementation added in v0.11.2

func InitializeDOMImplementation[T any](jsClass js.Class[T])

func InitializeDOMTokenList added in v0.11.0

func InitializeDOMTokenList[T any](jsClass js.Class[T])

func InitializeDocument added in v0.11.0

func InitializeDocument[T any](jsClass js.Class[T])

func InitializeDocumentFragment added in v0.11.0

func InitializeDocumentFragment[T any](jsClass js.Class[T])

func InitializeDocumentType added in v0.11.2

func InitializeDocumentType[T any](jsClass js.Class[T])

func InitializeDomException added in v0.11.0

func InitializeDomException[T any](jsClass js.Class[T])

func InitializeElement added in v0.11.0

func InitializeElement[T any](jsClass js.Class[T])

func InitializeEvent added in v0.11.0

func InitializeEvent[T any](jsClass js.Class[T])

func InitializeEventTarget added in v0.11.0

func InitializeEventTarget[T any](jsClass js.Class[T])

func InitializeHTMLCollection added in v0.11.0

func InitializeHTMLCollection[T any](jsClass js.Class[T])

func InitializeMutationObserver added in v0.11.0

func InitializeMutationObserver[T any](jsClass js.Class[T])

func InitializeMutationRecord added in v0.11.0

func InitializeMutationRecord[T any](jsClass js.Class[T])

func InitializeNamedNodeMap added in v0.11.0

func InitializeNamedNodeMap[T any](jsClass js.Class[T])

func InitializeNode added in v0.11.0

func InitializeNode[T any](jsClass js.Class[T])

func InitializeNodeList added in v0.11.0

func InitializeNodeList[T any](jsClass js.Class[T])

func InitializeNonDocumentTypeChildNode added in v0.11.0

func InitializeNonDocumentTypeChildNode[T any](jsClass js.Class[T])

func InitializeNonElementParentNode added in v0.11.0

func InitializeNonElementParentNode[T any](jsClass js.Class[T])

func InitializeParentNode added in v0.11.0

func InitializeParentNode[T any](jsClass js.Class[T])

func InitializeRange added in v0.11.3

func InitializeRange[T any](jsClass js.Class[T])

func InitializeText added in v0.11.0

func InitializeText[T any](jsClass js.Class[T])

func MutationObserverConstructor added in v0.11.0

func MutationObserverConstructor[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func MutationObserver_disconnect added in v0.11.0

func MutationObserver_disconnect[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func MutationObserver_observe added in v0.11.0

func MutationObserver_observe[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func MutationObserver_takeRecords added in v0.11.0

func MutationObserver_takeRecords[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func MutationRecord_addedNodes added in v0.11.0

func MutationRecord_addedNodes[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func MutationRecord_attributeName added in v0.11.0

func MutationRecord_attributeName[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func MutationRecord_attributeNamespace added in v0.11.0

func MutationRecord_attributeNamespace[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func MutationRecord_nextSibling added in v0.11.0

func MutationRecord_nextSibling[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func MutationRecord_oldValue added in v0.11.0

func MutationRecord_oldValue[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func MutationRecord_previousSibling added in v0.11.0

func MutationRecord_previousSibling[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func MutationRecord_removedNodes added in v0.11.0

func MutationRecord_removedNodes[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func MutationRecord_target added in v0.11.0

func MutationRecord_target[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func MutationRecord_type added in v0.11.0

func MutationRecord_type[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func NamedNodeMapCustomInitializer added in v0.11.0

func NamedNodeMapCustomInitializer[T any](class js.Class[T])

func NamedNodeMap_getNamedItem added in v0.11.0

func NamedNodeMap_getNamedItem[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func NamedNodeMap_getNamedItemNS added in v0.11.0

func NamedNodeMap_getNamedItemNS[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func NamedNodeMap_item added in v0.11.0

func NamedNodeMap_item[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func NamedNodeMap_length added in v0.11.0

func NamedNodeMap_length[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func NamedNodeMap_removeNamedItem added in v0.11.0

func NamedNodeMap_removeNamedItem[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func NamedNodeMap_removeNamedItemNS added in v0.11.0

func NamedNodeMap_removeNamedItemNS[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func NamedNodeMap_setNamedItem added in v0.11.0

func NamedNodeMap_setNamedItem[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func NamedNodeMap_setNamedItemNS added in v0.11.0

func NamedNodeMap_setNamedItemNS[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func NodeListCustomInitializer added in v0.11.0

func NodeListCustomInitializer[T any](class js.Class[T])

func NodeList_item added in v0.11.0

func NodeList_item[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func NodeList_length added in v0.11.0

func NodeList_length[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Node_appendChild added in v0.11.0

func Node_appendChild[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Node_childNodes added in v0.11.0

func Node_childNodes[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Node_cloneNode added in v0.11.0

func Node_cloneNode[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Node_contains added in v0.11.0

func Node_contains[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Node_firstChild added in v0.11.0

func Node_firstChild[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Node_getRootNode added in v0.11.0

func Node_getRootNode[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Node_insertBefore added in v0.11.0

func Node_insertBefore[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Node_isConnected added in v0.11.0

func Node_isConnected[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Node_isEqualNode added in v0.11.0

func Node_isEqualNode[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Node_isSameNode added in v0.11.0

func Node_isSameNode[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Node_lastChild added in v0.11.0

func Node_lastChild[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Node_nextSibling added in v0.11.0

func Node_nextSibling[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Node_nodeName added in v0.11.0

func Node_nodeName[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Node_nodeType added in v0.11.0

func Node_nodeType[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Node_nodeValue added in v0.11.0

func Node_nodeValue[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Node_ownerDocument added in v0.11.0

func Node_ownerDocument[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Node_parentElement added in v0.11.0

func Node_parentElement[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Node_parentNode added in v0.11.0

func Node_parentNode[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Node_previousSibling added in v0.11.0

func Node_previousSibling[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Node_removeChild added in v0.11.0

func Node_removeChild[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Node_replaceChild added in v0.11.0

func Node_replaceChild[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Node_setNodeValue added in v0.11.0

func Node_setNodeValue[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Node_setTextContent added in v0.11.0

func Node_setTextContent[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Node_textContent added in v0.11.0

func Node_textContent[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func NonDocumentTypeChildNode_nextElementSibling added in v0.11.0

func NonDocumentTypeChildNode_nextElementSibling[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func NonDocumentTypeChildNode_previousElementSibling added in v0.11.0

func NonDocumentTypeChildNode_previousElementSibling[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func NonElementParentNode_getElementById added in v0.11.0

func NonElementParentNode_getElementById[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func ParentNode_append added in v0.11.0

func ParentNode_append[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func ParentNode_childElementCount added in v0.11.0

func ParentNode_childElementCount[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func ParentNode_children added in v0.11.0

func ParentNode_children[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func ParentNode_firstElementChild added in v0.11.0

func ParentNode_firstElementChild[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func ParentNode_lastElementChild added in v0.11.0

func ParentNode_lastElementChild[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func ParentNode_prepend added in v0.11.0

func ParentNode_prepend[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func ParentNode_querySelector added in v0.11.0

func ParentNode_querySelector[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func ParentNode_querySelectorAll added in v0.11.0

func ParentNode_querySelectorAll[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func ParentNode_replaceChildren added in v0.11.0

func ParentNode_replaceChildren[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func RangeConstructor added in v0.11.3

func RangeConstructor[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Range_detach added in v0.11.3

func Range_detach[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Range_setEnd added in v0.11.3

func Range_setEnd[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Range_setStart added in v0.11.3

func Range_setStart[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Range_toString added in v0.11.3

func Range_toString[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func TextConstructor added in v0.11.0

func TextConstructor[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Text_splitText added in v0.11.0

func Text_splitText[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

func Text_wholeText added in v0.11.0

func Text_wholeText[T any](cbCtx js.CallbackContext[T]) (res js.Value[T], err error)

Types

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)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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