Documentation
¶
Index ¶
- Constants
- func Content(props ...ContentProps) templ.Component
- func Dropdown(props ...Props) templ.Component
- func Group(props ...GroupProps) templ.Component
- func Item(props ...ItemProps) templ.Component
- func Label(props ...LabelProps) templ.Component
- func Script() templ.Component
- func Separator(props ...SeparatorProps) templ.Component
- func Shortcut(props ...ShortcutProps) templ.Component
- func Sub(props ...SubProps) templ.Component
- func SubContent(props ...SubContentProps) templ.Component
- func SubTrigger(props ...SubTriggerProps) templ.Component
- func Trigger(props ...TriggerProps) templ.Component
- type ContentProps
- type GroupProps
- type ItemProps
- type LabelProps
- type Placement
- type PortalProps
- type Props
- type SeparatorProps
- type ShortcutProps
- type SubContentProps
- type SubProps
- type SubTriggerProps
- type TriggerProps
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 Group ¶
func Group(props ...GroupProps) templ.Component
func Label ¶
func Label(props ...LabelProps) templ.Component
func Separator ¶
func Separator(props ...SeparatorProps) templ.Component
func Shortcut ¶
func Shortcut(props ...ShortcutProps) 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 LabelProps ¶
type LabelProps struct {
ID string
Class string
Attributes templ.Attributes
}
type PortalProps ¶
type PortalProps struct {
ID string
Class string
Attributes templ.Attributes
}
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 SubTriggerProps ¶
type SubTriggerProps struct {
ID string
Class string
Attributes templ.Attributes
}
type TriggerProps ¶
type TriggerProps struct {
ID string
Class string
Attributes templ.Attributes
}
Click to show internal directories.
Click to hide internal directories.