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