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
Functions
Callback implementation for Phoenix.LiveComponent.mount/1
.
Callback implementation for Phoenix.LiveComponent.render/1
.
Callback implementation for Phoenix.LiveComponent.update/2
.
Link to this section Functions
Link to this function
mount(socket)
Callback implementation for Phoenix.LiveComponent.mount/1
.
Link to this function
render(arg)
Callback implementation for Phoenix.LiveComponent.render/1
.
Link to this function
update(assigns, socket)
Callback implementation for Phoenix.LiveComponent.update/2
.