SurfaceBootstrap.Tab.Item (surface_bootstrap v0.2.5)

Defines an Item for Tab.

This component supports links with class "nav-link".

  • <a class="nav-link">

This means the slot content should be one of the following

  • <a class="nav-link">
  • <Link class="nav-link">
  • <LiveRedirect class="nav-link">
  • <LivePatch class="nav-link">
  • <span class="navbar-text"> (can only be used with the TabDynamic component and will be silently ignored in TabStatic)

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.