Tab Module

Part of dcc.Tabs - this is the child Tab component used to render a tabbed page. Its children will be set as the content of that tab, which if clicked will become visible.

Types

Type Description

Attr

A list of children or a property for this dash component

Prop

• label (string) - The tab's label • children (a list of or a singular dash component, string or number) - The content of the tab - will only be displayed if this tab is selected • value (string) - Value for determining which Tab is currently selected • disabled (boolean; default false) - Determines if tab is disabled or not - defaults to false • disabled_style (record; default { color: '#d6d6d6', }) - Overrides the default (inline) styles when disabled • disabled_className (string) - Appends a class to the Tab component when it is disabled. • className (string) - Appends a class to the Tab component. • selected_className (string) - Appends a class to the Tab component when it is selected. • style (record) - Overrides the default (inline) styles for the Tab component. • selected_style (record) - Overrides the default (inline) styles for the Tab component when it is selected. • loading_state (record with the fields: 'is_loading: boolean (optional)', 'prop_name: string (optional)', 'component_name: string (optional)') - Object that holds the loading state object coming from dash-renderer

Tab

Part of dcc.Tabs - this is the child Tab component used to render a tabbed page. Its children will be set as the content of that tab, which if clicked will become visible.

Functions and values

Function or value Description

Tab.tab id attrs

Full Usage: Tab.tab id attrs

Parameters:
    id : string
    attrs : Attr list

Returns: DashComponent

Part of dcc.Tabs - this is the child Tab component used to render a tabbed page. Its children will be set as the content of that tab, which if clicked will become visible. Properties: • id (string) - The ID of this component, used to identify dash components in callbacks. The ID needs to be unique across all of the components in an app. • label (string) - The tab's label • children (a list of or a singular dash component, string or number) - The content of the tab - will only be displayed if this tab is selected • value (string) - Value for determining which Tab is currently selected • disabled (boolean; default false) - Determines if tab is disabled or not - defaults to false • disabled_style (record; default { color: '#d6d6d6', }) - Overrides the default (inline) styles when disabled • disabled_className (string) - Appends a class to the Tab component when it is disabled. • className (string) - Appends a class to the Tab component. • selected_className (string) - Appends a class to the Tab component when it is selected. • style (record) - Overrides the default (inline) styles for the Tab component. • selected_style (record) - Overrides the default (inline) styles for the Tab component when it is selected. • loading_state (record with the fields: 'is_loading: boolean (optional)', 'prop_name: string (optional)', 'component_name: string (optional)') - Object that holds the loading state object coming from dash-renderer

id : string
attrs : Attr list
Returns: DashComponent