dropdown

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: 10 Imported by: 0

Documentation

Overview

Package dropdown provides an input widget for selecting from an array of preset values.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

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

New returns a new dropdown.

func Set

func Set(values []string) seed.Option

Set sets the preset dropdown values.

func SetPlaceholder

func SetPlaceholder(placeholder string) seed.Option

SetPlaceholder sets the placeholder text of the dropbox.

func Update

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

Update updates the given variable whenever the dropdown value 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