PUI. Dropdown. Primitive
(pui v1.0.0)
Copy Markdown
Zero-style menu parts backed by the PUI popover hook.
Summary
Functions
Attributes
id(:string) (required)- Global attributes are accepted.
Slots
inner_block(required)
Attributes
- Global attributes are accepted. Supports all globals plus:
["href", "navigate", "patch", "method", "download", "name", "value", "disabled", "phx-click", "phx-value-action"].
Slots
inner_block(required)
Attributes
id(:string) (required)placement(:string) - Defaults to"bottom-start".trigger(:string) - Defaults to"click".- Global attributes are accepted.
Slots
inner_block(required)
Attributes
- Global attributes are accepted.
Attributes
id(:string) (required)controls(:string) (required)- Global attributes are accepted.
Slots
inner_block(required)