js

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2018 License: BSD-2-Clause Imports: 3 Imported by: 32

Documentation

Index

Constants

View Source
const (
	TypeUndefined = js.TypeUndefined
	TypeNull      = js.TypeNull
	TypeBoolean   = js.TypeBoolean
	TypeNumber    = js.TypeNumber
	TypeString    = js.TypeString
	TypeSymbol    = js.TypeSymbol
	TypeObject    = js.TypeObject
	TypeFunction  = js.TypeFunction
)
View Source
const (
	PreventDefault           = js.PreventDefault
	StopPropagation          = js.StopPropagation
	StopImmediatePropagation = js.StopImmediatePropagation
)

Variables

This section is empty.

Functions

func GetInternalObject

func GetInternalObject(v Value) interface{}

Types

type Callback

type Callback = js.Callback

func NewCallback

func NewCallback(f func([]Value)) Callback

func NewEventCallback

func NewEventCallback(flags EventCallbackFlag, fn func(event Value)) Callback

type Error

type Error = js.Error

type EventCallbackFlag

type EventCallbackFlag = js.EventCallbackFlag

type Type

type Type = js.Type

type TypedArray

type TypedArray = js.TypedArray

func TypedArrayOf

func TypedArrayOf(slice interface{}) TypedArray

type Value

type Value = js.Value

func Global

func Global() Value

func Null

func Null() Value

func Undefined

func Undefined() Value

func ValueOf

func ValueOf(x interface{}) Value

Jump to

Keyboard shortcuts

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