SurfaceBootstrap.Tab (surface_bootstrap v0.2.5)
Tab component.
This version does not support the full permutation of flexbox, if you require that, it is probably better to make your own tab component.
This component only renders Tab.Item components and has no default slot.
https://getbootstrap.com/docs/5.0/components/navs-tabs/#tabs
Properties
- pills :boolean - Render as pills.
- justified :boolean - Equal width nav items.
- fill :boolean - Fill width of container.
- class :css_class, default: [] - Any classes to put on the nav.
Slots
- static_tab_items
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(assigns)
Callback implementation for Phoenix.LiveComponent.render/1
.
Link to this function
update(assigns, socket)
Callback implementation for Phoenix.LiveComponent.update/2
.