Documentation
¶
Rendered for js/wasm
Index ¶
- func Call(name string, args ...interface{}) jst.Value
- func Console() jst.Value
- func CustomEvent() jst.Value
- func Doc() jst.Value
- func Document() jst.Value
- func Error() jst.Value
- func Expose(name string, fn func())
- func ExposeEvent(name string, fn func(jst.Value))
- func ExposeFunc(name string, fn func(this jst.Value, args []jst.Value) interface{})
- func Fetch(args ...interface{}) jst.Value
- func Get(name string) jst.Value
- func Global() jst.Value
- func History() jst.Value
- func IntersectionObserver() jst.Value
- func JSON() jst.Value
- func LS() jst.Value
- func Loc() jst.Value
- func LocalStorage() jst.Value
- func Location() jst.Value
- func MutationObserver() jst.Value
- func Perf() jst.Value
- func Performance() jst.Value
- func RAF(cb jst.Func)
- func RequestAnimationFrame(cb jst.Func)
- func Set(name string, v interface{})
- func Stack() string
- func Win() jst.Value
- func Window() jst.Value
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Expose ¶
func Expose(name string, fn func())
Expose registers a no-argument Go function under the given name on the JavaScript global object.
func ExposeEvent ¶
ExposeEvent registers a Go function that receives the first argument from the JavaScript call as the event object.
func ExposeFunc ¶
ExposeFunc registers a Go function with custom arguments on the JavaScript global object.
func IntersectionObserver ¶
IntersectionObserver returns the IntersectionObserver constructor.
func MutationObserver ¶
MutationObserver returns the MutationObserver constructor.
func RequestAnimationFrame ¶
RequestAnimationFrame wraps the requestAnimationFrame global function.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.