Documentation
¶
Overview ¶
templ: version: v0.2.793
templ: version: v0.2.793
templ: version: v0.2.793
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Props ¶
type Props struct {
// ID - if not supplied, random will be generated
ID string `default:""`
// if present, and TriggerContent is nil,
// will display as the button Label of the
// default styled trigger button
TriggerLabel string `default:"click"`
// any templ.Component
TriggerContent templ.Component
//
PopOverContent templ.Component
// placement relative to trigger
// top, top-start, top-end
// left, left-start, left-end
// right, right-start, right-end
// bottom, bottom-start, bottom-end
Placement string `default:"top"`
// On - click, hover
On string `default:"click"`
// if On is set to 'click', then away being true will close
// the popover display on any click not ON the display.
Away bool
}
Click to show internal directories.
Click to hide internal directories.