slider

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2020 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Focus

func Focus(c seed.Seed) js.Script

Focus focuses the textbox.

func New

func New(options ...seed.Option) seed.Seed

New returns a new textbox widget.

func SetMax

func SetMax(max int) seed.Option

SetMax sets the maximum value of this slider.

func SetMin

func SetMin(min int) seed.Option

SetMin sets the minumum value of this slider.

func SetRange

func SetRange(min, max int) seed.Option

SetRange sets the range of the slider.

func SetReadOnly

func SetReadOnly() seed.Option

SetReadOnly sets the textbox to be readonly.

func Update

func Update(variable *clientside.Int) seed.Option

Update updates the given variable whenever the textbox text is modified.

Types

This section is empty.

Jump to

Keyboard shortcuts

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