LiveDebugger.LiveComponents.LiveDropdown (LiveDebugger v0.1.5)
View SourceDropdown component that can be used to display a dropdown menu written via LiveComponents.
Summary
Functions
Closes the dropdown. You can use it when you want to close the dropdown from other component.
Callback implementation for Phoenix.LiveComponent.handle_event/3.
Attributes
id(:string) (required)open(:boolean) (required)
Slots
button(required) - Accepts attributes:class(:any) - Additional classes to add to the button.size(:string) - Size of the button.Must be one of"sm", or"md".variant(:string) - Variant of the button.Must be one of"primary", or"secondary".
inner_block(required)
Callback implementation for Phoenix.LiveComponent.update/2.
Functions
Closes the dropdown. You can use it when you want to close the dropdown from other component.
Callback implementation for Phoenix.LiveComponent.handle_event/3.
Attributes
id(:string) (required)open(:boolean) (required)
Slots
button(required) - Accepts attributes:class(:any) - Additional classes to add to the button.size(:string) - Size of the button.Must be one of"sm", or"md".variant(:string) - Variant of the button.Must be one of"primary", or"secondary".
inner_block(required)
Callback implementation for Phoenix.LiveComponent.update/2.