View Source Tremorx.Components.Tab (tremorx v0.1.1)
Tabs - Tab, TabGroup, TabList, TabPanels, TabPanel
Summary
Functions
Attributes
id(:string) - Defaults to"tabs".variant(:string) - Defaults to"line".color(:string) - Defaults tonil.class(:string) - Defaults tonil.tab_list_class(:string) - CSS classes styles to apply to the tab list container. Defaults tonil.tab_panel_class(:string) - CSS classes styles to apply to the tabpanel container. Defaults tonil.tab_panels_class(:string) - CSS classes styles to apply to the tabpanels container. Defaults tonil.tab_class(:string) - CSS classes styles to apply to the tab button. Defaults tonil.- Global attributes are accepted.
Slots
tab- The tab button.tab_content- The content after the tab buttons.tabpanel- The tab content.
Functions
Attributes
id(:string) - Defaults to"tabs".variant(:string) - Defaults to"line".color(:string) - Defaults tonil.class(:string) - Defaults tonil.tab_list_class(:string) - CSS classes styles to apply to the tab list container. Defaults tonil.tab_panel_class(:string) - CSS classes styles to apply to the tabpanel container. Defaults tonil.tab_panels_class(:string) - CSS classes styles to apply to the tabpanels container. Defaults tonil.tab_class(:string) - CSS classes styles to apply to the tab button. Defaults tonil.- Global attributes are accepted.
Slots
tab- The tab button.tab_content- The content after the tab buttons.tabpanel- The tab content.