dairaga

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2018 License: MIT Imports: 1 Imported by: 0

README

dairaga

測試使用 Golang 1.11 WASM,代替 javascript。

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Window

type Window interface {

	// TODO: methods
	/*
		atob()
		back()
		blur()
		btoa()
		cancelAnimationFrame()
		cancelIdleCallback()
		captureEvents()
		clearImmediate()
		clearInterval()
		clearTimeout()
		close()
		confirm()
		convertPointFromNodeToPage()
		convertPointFromPageToNode
		createImageBitmap()
		dump()
		event
		fetch()
		find()
		focus()
		forward()
		getAttention()
		getComputedStyle()
		getDefaultComputedStyle()
		getSelection()
		home()
		matchMedia()
		minimize()
		moveBy()
		moveTo()
		open()
		openDialog()
		postMessage()
		print()
		prompt()
		releaseEvents()
		requestAnimationFrame()
		requestFileSystem()
		requestIdleCallback()
		resizeBy()
		resizeTo()
		restore()
		routeEvent()
		scroll()
		scrollBy()
		scrollByLines()
		scrollByPages()
		scrollTo()
		setCursor()
		setImmediate()
		setInterval()
		setTimeout()
		showModalDialog()
		sizeToContent()
		stop()
		updateCommands()
	*/
	Alert(a ...string)
}

Window javascript Window (https://developer.mozilla.org/en-US/docs/Web/API/Window)

func WindowOf

func WindowOf() Window

WindowOf get javascript window object

Jump to

Keyboard shortcuts

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