wasmdom

package
v0.35.2 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HMRModule

type HMRModule struct{}

func NewHMRModule

func NewHMRModule(moduleID string) *HMRModule

func (*HMRModule) Accept

func (m *HMRModule) Accept(callback func())

func (*HMRModule) LoadState

func (m *HMRModule) LoadState(key string) js.Value

func (*HMRModule) OnDispose

func (m *HMRModule) OnDispose(handler func())

func (*HMRModule) SaveState

func (m *HMRModule) SaveState(key string, value interface{})

func (*HMRModule) TrackListener

func (m *HMRModule) TrackListener(el Element, event string, handler js.Func)

Jump to

Keyboard shortcuts

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