wasm

package
v0.0.0-...-103b438 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Rendered for js/wasm

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Await

func Await(target js.Value) (*js.Value, error)

func BytesToJsValue

func BytesToJsValue(buffer []byte) js.Value

func ConsoleError

func ConsoleError(v ...any)

func ConsoleLog

func ConsoleLog(v ...any)

func IsUndefined

func IsUndefined(v js.Value) bool

func NewArray

func NewArray[T any](array []T) js.Value

func NewObj

func NewObj(m map[string]any) js.Value

func NewObject

func NewObject() js.Value

func TryGet

func TryGet(target js.Value, name string) (result js.Value, flag bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

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