SurfaceBulma.Dropdown (surface_bulma v0.3.3)
An interactive dropdown menu for discoverable content.
Properties
id :string, required: true - The id of the live component (required by LiveView for stateful components).
active :boolean - Is always open
hoverable :boolean - Activates on hover
right_aligned :boolean, default: false - Left/Right aligned (left by default)
drop_up :boolean, default: false - Menu appears above/below (below by default)
Slots
- trigger, required: true
- default, required: true
Link to this section Summary
Functions
Callback implementation for Phoenix.LiveComponent.handle_event/3
.
Callback implementation for Phoenix.LiveComponent.mount/1
.
Callback implementation for Phoenix.LiveComponent.render/1
.
Link to this section Functions
Link to this function
handle_event(binary, _, socket)
Callback implementation for Phoenix.LiveComponent.handle_event/3
.
Link to this function
mount(socket)
Callback implementation for Phoenix.LiveComponent.mount/1
.
Link to this function
render(assigns)
Callback implementation for Phoenix.LiveComponent.render/1
.