seed: github.com/qlova/seed/script/js Index | Files

package js

import "github.com/qlova/seed/script/js"

Index

Package Files

value_server.go

type Value Uses

type Value struct {
    // contains filtered or unexported fields
}

Value is a generic js.Value.

func ValueFromUpdate Uses

func ValueFromUpdate(u seed.Update) Value

ValueFromUpdate returns a value from a seed.Update

func (Value) Call Uses

func (v Value) Call(method string, args ...Value) Value

func (Value) Get Uses

func (v Value) Get(property string) Value

func (Value) Global Uses

func (v Value) Global() Value

func (Value) Number Uses

func (v Value) Number(n float64) Value

func (Value) Run Uses

func (v Value) Run(method string, args ...Value)

func (Value) Set Uses

func (v Value) Set(property string, value Value)

func (Value) String Uses

func (v Value) String(s string) Value

func (Value) Var Uses

func (v Value) Var(name string) Value

Package js imports 5 packages (graph). Updated 2020-03-26. Refresh now. Tools for package owners.