dropdowns

package
v1.3.6 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2023 License: GPL-2.0 Imports: 3 Imported by: 0

Documentation

Rendered for js/wasm

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dropdown(options DropdownOptions) *elements.Element
func DropdownElement(opts DropdownOptions, absolutePosition bool) *elements.Element

Types

type DropdownOptions struct {
	Background        string
	Color             string
	BorderWidth       string
	Width             string
	Height            string
	ButtonBorderWidth string
	ButtonWidth       string
	ButtonHeight      string
	ButtonText        string
	Header            *elements.Element
	Footer            *elements.Element
	MenuItems         []*elements.Element
	ItemsPerColumn    int
	Prefix            string
}
func (d *DropdownOptions) SetDefaults()

Jump to

Keyboard shortcuts

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