dropdown

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Demo added in v0.0.7

func Demo() app.UI

Types

type AlignOnDifferentBreakpoint

type AlignOnDifferentBreakpoint struct {
	app.Compo
}

func (*AlignOnDifferentBreakpoint) Render

func (c *AlignOnDifferentBreakpoint) Render() app.UI

type AlignRight

type AlignRight struct {
	app.Compo
}

func (*AlignRight) Render

func (c *AlignRight) Render() app.UI

type AlignTop

type AlignTop struct {
	app.Compo
}

func (*AlignTop) Render

func (c *AlignTop) Render() app.UI

type AriaDisabledItems

type AriaDisabledItems struct {
	app.Compo
}

func (*AriaDisabledItems) Render

func (c *AriaDisabledItems) Render() app.UI

type BadgeToggle

type BadgeToggle struct {
	app.Compo
}

func (*BadgeToggle) Render

func (c *BadgeToggle) Render() app.UI

type Collapsed

type Collapsed struct {
	app.Compo
}

func (*Collapsed) Render

func (c *Collapsed) Render() app.UI

type Disabled

type Disabled struct {
	app.Compo
}

func (*Disabled) Render

func (c *Disabled) Render() app.UI
type DropDown struct {
	ID           string
	Toggle       *Toggle
	Alignments   map[string]string
	AutoFocus    bool
	Children     []app.UI
	ClassName    []string
	ContextProps any
	Direction    string
	Items        []Item
	FullHeight   bool
	Grouped      bool
	Open         bool
	Plain        bool
	Text         bool
	OnSelect     app.EventHandler
	Position     string
}
func (d *DropDown) UI() app.UI
func (d *DropDown) UpdateState(ctx app.Context)
type DropdownWithDescription struct {
	app.Compo
}
func (c *DropdownWithDescription) Render() app.UI
type DropdownWithImageAndText struct {
	app.Compo
}
func (c *DropdownWithImageAndText) Render() app.UI

type Expanded

type Expanded struct {
	app.Compo
}

func (*Expanded) Render

func (c *Expanded) Render() app.UI

type Group added in v0.0.7

type Group struct{}

type Item added in v0.0.7

type Item struct {
	Href     string
	Children app.UI
}

type Kebab

type Kebab struct {
	app.Compo
}

func (*Kebab) Render

func (c *Kebab) Render() app.UI

type KebabAlignRight

type KebabAlignRight struct {
	app.Compo
}

func (*KebabAlignRight) Render

func (c *KebabAlignRight) Render() app.UI
type MenuItemIcons struct {
	app.Compo
}
func (c *MenuItemIcons) Render() app.UI

type Panel

type Panel struct {
	app.Compo
}

func (*Panel) Render

func (c *Panel) Render() app.UI

type PlainWithText

type PlainWithText struct {
	app.Compo
}

func (*PlainWithText) Render

func (c *PlainWithText) Render() app.UI

type PrimaryToggle

type PrimaryToggle struct {
	app.Compo
}

func (*PrimaryToggle) Render

func (c *PrimaryToggle) Render() app.UI

type SecondaryToggle

type SecondaryToggle struct {
	app.Compo
}

func (*SecondaryToggle) Render

func (c *SecondaryToggle) Render() app.UI

type SplitButtonAction

type SplitButtonAction struct {
	app.Compo
}

func (*SplitButtonAction) Render

func (c *SplitButtonAction) Render() app.UI

type SplitButtonCheckbox

type SplitButtonCheckbox struct {
	app.Compo
}

func (*SplitButtonCheckbox) Render

func (c *SplitButtonCheckbox) Render() app.UI

type SplitButtonCheckboxWithToggleText

type SplitButtonCheckboxWithToggleText struct {
	app.Compo
}

func (*SplitButtonCheckboxWithToggleText) Render

type SplitButtonPrimaryAction

type SplitButtonPrimaryAction struct {
	app.Compo
}

func (*SplitButtonPrimaryAction) Render

func (c *SplitButtonPrimaryAction) Render() app.UI

type Toggle added in v0.0.7

type Toggle struct {
	ID       string
	Children []app.UI
	Icon     app.HTMLI // fa.Icon("caret-down")
}

func (*Toggle) UI added in v0.0.7

func (t *Toggle) UI() app.HTMLButton

type WithGroups

type WithGroups struct {
	app.Compo
}

func (*WithGroups) Render

func (c *WithGroups) Render() app.UI

type WithGroupsAndDividersBetweenGroups

type WithGroupsAndDividersBetweenGroups struct {
	app.Compo
}

func (*WithGroupsAndDividersBetweenGroups) Render

type WithGroupsAndDividersBetweenItems

type WithGroupsAndDividersBetweenItems struct {
	app.Compo
}

func (*WithGroupsAndDividersBetweenItems) Render

Jump to

Keyboard shortcuts

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