numberbox

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: 7 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 SetPlaceholder

func SetPlaceholder(placeholder string) seed.Option

SetPlaceholder sets the placeholder of the textbox.

func SetReadOnly

func SetReadOnly() seed.Option

SetReadOnly sets the textbox to be readonly.

func Update

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

Update syncs the given variable with the numberbox's value.

Types

This section is empty.

Jump to

Keyboard shortcuts

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