Floating
Floating is used to create components like Dropdown, Popover and Tooltip.
FloatingBosons
Type
required
Type of element.
type:
stringdefault:
dropdownvalues:
dropdown, popover, tooltipExamples
1// Basic example
2
3@protons.Floating(&protons.FloatingBosons{Type: "dropdown"}) {
4 ... place for activation element
5 ... place for container with content
6}