SurfaceBootstrap.DropDown.Item (surface_bootstrap v0.2.5)

Defines an Item for the Dropdown. This component supports the following slot content

  • <a class="dropdown-item">
  • <hr class="dropdown-divider">

This means the slot content should be one of the following

  • <a class="dropdown-item"">
  • <Link class="dropdown-item"">
  • <LiveRedirect class="dropdown-item"">
  • <LivePatch class="dropdown-item"">
  • <hr class="dropdown-divider">

Link to this section Summary

Link to this section Functions

Callback implementation for Phoenix.LiveComponent.mount/1.

Callback implementation for Phoenix.LiveComponent.render/1.

Link to this function

update(assigns, socket)

Callback implementation for Phoenix.LiveComponent.update/2.