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 ¶ added in v1.1.0
func Content(props ...ContentProps) templ.Component
func Group ¶ added in v1.1.0
func Group(props ...GroupProps) templ.Component
func Label ¶ added in v1.1.0
func Label(props ...LabelProps) templ.Component
func Separator ¶ added in v1.1.0
func Separator(props ...SeparatorProps) templ.Component
func Shortcut ¶ added in v1.1.0
func Shortcut(props ...ShortcutProps) templ.Component
func SubContent ¶ added in v1.1.0
func SubContent(props ...SubContentProps) templ.Component
func SubTrigger ¶ added in v1.1.0
func SubTrigger(props ...SubTriggerProps) templ.Component
func Trigger ¶ added in v1.1.0
func Trigger(props ...TriggerProps) templ.Component
Types ¶
type ContentProps ¶ added in v1.1.0
type ContentProps struct {
ID string
Class string
Attributes templ.Attributes
Placement Placement
}
type GroupProps ¶ added in v1.1.0
type GroupProps struct {
ID string
Class string
Attributes templ.Attributes
}
type LabelProps ¶ added in v1.1.0
type LabelProps struct {
ID string
Class string
Attributes templ.Attributes
}
type PortalProps ¶ added in v1.1.0
type PortalProps struct {
ID string
Class string
Attributes templ.Attributes
}
type SeparatorProps ¶ added in v1.1.0
type SeparatorProps struct {
ID string
Class string
Attributes templ.Attributes
}
type ShortcutProps ¶ added in v1.1.0
type ShortcutProps struct {
ID string
Class string
Attributes templ.Attributes
}
type SubContentProps ¶ added in v1.1.0
type SubContentProps struct {
ID string
Class string
Attributes templ.Attributes
}
type SubProps ¶ added in v1.1.0
type SubProps struct {
ID string
Class string
Attributes templ.Attributes
}
type SubTriggerProps ¶ added in v1.1.0
type SubTriggerProps struct {
ID string
Class string
Attributes templ.Attributes
}
type TriggerProps ¶ added in v1.1.0
type TriggerProps struct {
ID string
Class string
Attributes templ.Attributes
}
Click to show internal directories.
Click to hide internal directories.