builtin

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Rendered for js/wasm

Index

Constants

View Source
const (
	EventTarget = Constructor("EventTarget")
	Event       = Constructor("Event")

	ArrayBuffer       = Constructor("ArrayBuffer")
	Int8Array         = Constructor("Int8Array")
	Uint8Array        = Constructor("Uint8Array")
	Uint8ClampedArray = Constructor("Uint8ClampedArray")
	Int16Array        = Constructor("Int16Array")
	Uint16Array       = Constructor("Uint16Array")
	Int32Array        = Constructor("Int32Array")
	Uint32Array       = Constructor("Uint32Array")
	Float32Array      = Constructor("Float32Array")
	Float64Array      = Constructor("Float64Array")
	BigInt64Array     = Constructor("BigInt64Array")
	BigUint64Array    = Constructor("BigUint64Array")

	URL            = Constructor("URL")
	XMLHttpRequest = Constructor("XMLHttpRequest")

	HTMLFormElement = Constructor("HTMLFormElement")
	FormData        = Constructor("FormData")

	WebSocket = Constructor("WebSocket")

	Element = Constructor("Element")

	HTMLInputElement    = Constructor("HTMLInputElement")
	HTMLSelectElement   = Constructor("HTMLSelectElement")
	HTMLTextAreaElement = Constructor("HTMLTextAreaElement")

	Blob = Constructor("Blob")
	File = Constructor("File")

	RegExp = Constructor("RegExp")
)

Variables

This section is empty.

Functions

func HasValueProperty

func HasValueProperty(v js.Value) bool

func IsArrayBuffer

func IsArrayBuffer(v js.Value) bool

func IsArrayBufferView

func IsArrayBufferView(v js.Value) bool

func IsBlob

func IsBlob(v js.Value) bool

func IsElement

func IsElement(v js.Value) bool

func IsEvent

func IsEvent(v js.Value) bool

func IsEventTarget

func IsEventTarget(v js.Value) bool

func IsFile

func IsFile(v js.Value) bool

func IsForm

func IsForm(v js.Value) bool

func IsInputElement

func IsInputElement(v js.Value) bool

func IsUint8Array

func IsUint8Array(v js.Value) bool

Types

type Constructor

type Constructor string

func (Constructor) JSValue

func (c Constructor) JSValue() js.Value

func (Constructor) New

func (c Constructor) New(args ...any) js.Value

Jump to

Keyboard shortcuts

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