View Source Shino.UI.Popover (shino v0.1.0-alpha.0)
Provides popover related components.
Wanna
DropdownMenu
?Popover
+Menu
=DropdownMenu
Examples
<Popover.root :let={root}>
<Popover.trigger for={root}>
<.button variant="outline">Open</.button>
</Popover.trigger>
<Popover.content for={root}>
Content
</Popover.content>
</Popover.root>
References
Summary
Functions
Renders the content of a popover.
The root contains all the parts of a popover.
Renders a popover trigger.
Functions
Renders the content of a popover.
Attributes
for
(Shino.UI.Popover.Root
) (required)class
(:string
) - Defaults tonil
.- Global attributes are accepted.
Slots
inner_block
(required)
The root contains all the parts of a popover.
Attributes
id
(:string
) (required)side
(:string
) - Defaults to"bottom"
.align
(:string
) - Defaults to"start"
.class
(:string
) - Defaults tonil
.- Global attributes are accepted.
Slots
inner_block
(required)
Renders a popover trigger.
Attributes
for
(Shino.UI.Popover.Root
) (required)class
(:string
) - Defaults tonil
.- Global attributes are accepted.
Slots
inner_block
(required)