Summary
Functions
Attributes
class(:any) - CSS class. Defaults tonil.label(:string) - labels your tab. Defaults tonil.link_type(:string) - Defaults to"a". Must be one of"a","live_patch", or"live_redirect".to(:string) - link path. Defaults tonil.number(:integer) - indicates a number next to your tab. Defaults tonil.underline(:boolean) - underlines your tab. Defaults tofalse.is_active(:boolean) - indicates the current tab. Defaults tofalse.disabled(:boolean) - disables your tab. Defaults tofalse.on_change(Phoenix.LiveView.JS) - JS commands to run when this tab is selected. Defaults to%Phoenix.LiveView.JS{ops: []}.- Global attributes are accepted. Supports all globals plus:
["method", "download", "hreflang", "ping", "referrerpolicy", "rel", "target", "type"].
Slots
inner_block
Attributes
underline(:boolean) - underlines your tabs. Defaults tofalse.class(:any) - CSS class. Defaults tonil.- Global attributes are accepted.
Slots
inner_block