Documentation
¶
Index ¶
- func Await(promise js.Value) (res js.Value, err error)
- func Bytes2JS(b []byte) js.Value
- func Callback0(fn func() interface{}) js.Func
- func Callback1(fn func(res js.Value) interface{}) js.Func
- func CallbackN(fn func(res []js.Value) interface{}) js.Func
- func Fetch(url string, opt map[string]interface{}) (js.Value, error)
- func IsArray(item js.Value) bool
- func JS2Bytes(dv js.Value) []byte
- func JS2Go(obj js.Value) interface{}
- func RequestAnimationFrame(ch <-chan bool, callback func(dt float64))
- type Releaser
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RequestAnimationFrame ¶
RequestAnimationFrame function call for 30 or 60 fps. return value: tick chan
Types ¶
Click to show internal directories.
Click to hide internal directories.