window

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2020 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Alert

func Alert(msg js.AnyString) js.Script

Alert creates a popup window with the provided text message.

func Close

func Close() js.Script

Close attempts to close the window.

func Confirm

func Confirm(msg js.AnyString) js.Bool

Confirm creates a popup window with the provided text message asking the user to confirm.

func Prompt

func Prompt(msg js.AnyString) js.String

Prompt creates a popup window with the provided text message asking the user to input text.

func ResizeTo

func ResizeTo(width, height js.AnyNumber) js.Script

ResizeTo dynamically resizes the window.

func SetInterval

func SetInterval(do js.Script, timeout js.AnyNumber) js.Script

func SetTimeout

func SetTimeout(do js.Script, timeout js.AnyNumber) js.Script

Types

This section is empty.

Jump to

Keyboard shortcuts

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