SurfaceBulma.Panel.Tab (surface_bulma v0.3.3)

The tabs to display for a panel. N.B. the elements used in this slot will be wrapped with a <a> tag. Use the click prop to add custom events which handle when a user clicks a tab.

Properties

  • title :string, required: true - The title of this tab item

  • is_active :boolean - Specifies whether this tab is active or not

  • visible :boolean, default: true - Whether or not this tab is visible or not

  • icon :string - An icon that will be displayed next to the tab title

Slots

  • panel_tab_items, required: true - The items that will be rendered in this tab

Events

  • click - The event that will be bound to the tab item when it is clicked

Link to this section Summary

Link to this section Functions

Link to this function

render(assigns)

Callback implementation for Surface.Component.render/1.