dropdown

package
v0.0.0-...-878bea8 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PlacementTop         = popover.PlacementTop
	PlacementTopStart    = popover.PlacementTopStart
	PlacementTopEnd      = popover.PlacementTopEnd
	PlacementRight       = popover.PlacementRight
	PlacementRightStart  = popover.PlacementRightStart
	PlacementRightEnd    = popover.PlacementRightEnd
	PlacementBottom      = popover.PlacementBottom
	PlacementBottomStart = popover.PlacementBottomStart
	PlacementBottomEnd   = popover.PlacementBottomEnd
	PlacementLeft        = popover.PlacementLeft
	PlacementLeftStart   = popover.PlacementLeftStart
	PlacementLeftEnd     = popover.PlacementLeftEnd
)

Variables

This section is empty.

Functions

func Content

func Content(props ...ContentProps) templ.Component
func Dropdown(props ...Props) templ.Component

func Group

func Group(props ...GroupProps) templ.Component

func Item

func Item(props ...ItemProps) templ.Component

func Label

func Label(props ...LabelProps) templ.Component

func Script

func Script() templ.Component

func Separator

func Separator(props ...SeparatorProps) templ.Component

func Shortcut

func Shortcut(props ...ShortcutProps) templ.Component

func Sub

func Sub(props ...SubProps) templ.Component

func SubContent

func SubContent(props ...SubContentProps) templ.Component

func SubTrigger

func SubTrigger(props ...SubTriggerProps) templ.Component

func Trigger

func Trigger(props ...TriggerProps) templ.Component

Types

type ContentProps

type ContentProps struct {
	ID         string
	Class      string
	Attributes templ.Attributes
	Placement  Placement
}

type GroupProps

type GroupProps struct {
	ID         string
	Class      string
	Attributes templ.Attributes
}

type ItemProps

type ItemProps struct {
	ID           string
	Class        string
	Attributes   templ.Attributes
	Disabled     bool
	Href         string
	Target       string
	PreventClose bool
}

type LabelProps

type LabelProps struct {
	ID         string
	Class      string
	Attributes templ.Attributes
}

type Placement

type Placement = popover.Placement

type PortalProps

type PortalProps struct {
	ID         string
	Class      string
	Attributes templ.Attributes
}

type Props

type Props struct {
	ID string
}

type SeparatorProps

type SeparatorProps struct {
	ID         string
	Class      string
	Attributes templ.Attributes
}

type ShortcutProps

type ShortcutProps struct {
	ID         string
	Class      string
	Attributes templ.Attributes
}

type SubContentProps

type SubContentProps struct {
	ID         string
	Class      string
	Attributes templ.Attributes
}

type SubProps

type SubProps struct {
	ID         string
	Class      string
	Attributes templ.Attributes
}

type SubTriggerProps

type SubTriggerProps struct {
	ID         string
	Class      string
	Attributes templ.Attributes
}

type TriggerProps

type TriggerProps struct {
	ID         string
	Class      string
	Attributes templ.Attributes
}

Jump to

Keyboard shortcuts

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