datGUI

package
v0.0.0-...-5f1b438 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2021 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	JSController js.Value
	// contains filtered or unexported fields
}

func (*Controller) Max

func (c *Controller) Max(x float64) *Controller

func (*Controller) Min

func (c *Controller) Min(x float64) *Controller

func (*Controller) Name

func (c *Controller) Name(x string) *Controller

func (*Controller) OnChange

func (c *Controller) OnChange(fun func()) *Controller

func (*Controller) SetValue

func (c *Controller) SetValue(val interface{}) *Controller

func (*Controller) Step

func (c *Controller) Step(x float64) *Controller

type GUI

type GUI struct {
	JSGUI js.Value
}

func New

func New() *GUI

func NewWithOptions

func NewWithOptions(options map[string]interface{}) *GUI

func (*GUI) Add

func (g *GUI) Add(obj interface{}, fieldName string) *Controller

func (*GUI) AddFolder

func (g *GUI) AddFolder(name string) *GUI

func (*GUI) Close

func (g *GUI) Close()

func (*GUI) Destroy

func (g *GUI) Destroy()

func (*GUI) Open

func (g *GUI) Open()

func (*GUI) RemoveFolder

func (g *GUI) RemoveFolder(folder *GUI)

Jump to

Keyboard shortcuts

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