Beacon.LiveAdmin.StationUI.HTML.TabGroup
(Beacon LiveAdmin v0.4.0)
View Source
Summary
Attributes
class
(:any
) - Defaults to "gap-x-5"
.default_index
(:string
) - the index of the tab that should be active when initially rendered. Defaults to "0"
.id
(:any
) (required)on_select
(:any
) - the function for handling additional behavior for phx-click on each tab. Defaults to nil
.
Slots
tab
(required) - Accepts attributes:class
(:any
) - text-base.index
(:string
) - the unique index of the tab for matching with a tab panel (defaults to the zero-based numerical position of the slot).
tab_divider
- Accepts attributes:tab_panel
(required) - Accepts attributes:class
(:any
)index
(:string
) - the unique index of the tab panel for matching with a tab (defaults to the zero-based numerical position of the slot).
Functions
Attributes
class
(:any
) - Defaults to "gap-x-5"
.default_index
(:string
) - the index of the tab that should be active when initially rendered. Defaults to "0"
.id
(:any
) (required)on_select
(:any
) - the function for handling additional behavior for phx-click on each tab. Defaults to nil
.
Slots
tab
(required) - Accepts attributes:class
(:any
) - text-base.index
(:string
) - the unique index of the tab for matching with a tab panel (defaults to the zero-based numerical position of the slot).
tab_divider
- Accepts attributes:tab_panel
(required) - Accepts attributes:class
(:any
)index
(:string
) - the unique index of the tab panel for matching with a tab (defaults to the zero-based numerical position of the slot).