-
-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathdbcTab.Rd
109 lines (76 loc) · 4.65 KB
/
dbcTab.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
% Auto-generated: do not edit by hand
\name{dbcTab}
\alias{dbcTab}
\title{Tab component}
\description{
Create a single tab. Should be used as a component of Tabs.
}
\usage{
dbcTab(children=NULL, id=NULL, style=NULL, tab_style=NULL,
active_tab_style=NULL, label_style=NULL,
active_label_style=NULL, class_name=NULL, className=NULL,
tab_class_name=NULL, tabClassName=NULL,
active_tab_class_name=NULL, activeTabClassName=NULL,
label_class_name=NULL, labelClassName=NULL,
active_label_class_name=NULL, activeLabelClassName=NULL,
key=NULL, label=NULL, tab_id=NULL, disabled=NULL,
loading_state=NULL)
}
\arguments{
\item{children}{A list of or a singular dash component, string or number. The children of this component}
\item{id}{Character. 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.}
\item{style}{Named list. Defines CSS styles which will override styles previously set. The styles
set here apply to the content of the Tab}
\item{tab_style}{Named list. Defines CSS styles which will override styles previously set. The styles
set here apply to the NavItem in the tab.}
\item{active_tab_style}{Named list. Defines CSS styles which will override styles previously set. The styles
set here apply to the NavItem in the tab when it is active.}
\item{label_style}{Named list. Defines CSS styles which will override styles previously set. The styles
set here apply to the NavLink in the tab.}
\item{active_label_style}{Named list. Defines CSS styles which will override styles previously set. The styles
set here apply to the NavLink in the tab when it is active}
\item{class_name}{Character. Often used with CSS to style elements with common properties.}
\item{className}{Character. **DEPRECATED** Use `class_name` instead.
Often used with CSS to style elements with common properties.}
\item{tab_class_name}{Character. Often used with CSS to style elements with common properties. The classes
specified with this prop will be applied to the NavItem in the tab.}
\item{tabClassName}{Character. **DEPRECATED** Use `tab_class_name` instead
Often used with CSS to style elements with common properties. The classes
specified with this prop will be applied to the NavItem in the tab.}
\item{active_tab_class_name}{Character. Often used with CSS to style elements with common properties. The classes
specified with this prop will be applied to the NavItem in the tab when it
is active.}
\item{activeTabClassName}{Character. **DEPRECATED** Use `active_tab_class_name` instead
Often used with CSS to style elements with common properties. The classes
specified with this prop will be applied to the NavItem in the tab when it
is active.}
\item{label_class_name}{Character. Often used with CSS to style elements with common properties. The classes
specified with this prop will be applied to the NavLink in the tab.}
\item{labelClassName}{Character. **DEPRECATED** Use `label_class_name` instead
Often used with CSS to style elements with common properties. The classes
specified with this prop will be applied to the NavLink in the tab.}
\item{active_label_class_name}{Character. Often used with CSS to style elements with common properties. The classes
specified with this prop will be applied to the NavLink in the tab when
it is active.}
\item{activeLabelClassName}{Character. **DEPRECATED** Use `active_label_class_name` instead
Often used with CSS to style elements with common properties. The classes
specified with this prop will be applied to the NavLink in the tab when
it is active.}
\item{key}{Character. A unique identifier for the component, used to improve
performance by React.js while rendering components
See https://reactjs.org/docs/lists-and-keys.html for more info}
\item{label}{Character. The tab's label, displayed in the tab itself.}
\item{tab_id}{Character. Optional identifier for tab used for determining which tab is visible
if not specified, and Tab is being used inside Tabs component, the tabId
will be set to "tab-i" where i is (zero indexed) position of tab in list
tabs pased to Tabs component.}
\item{disabled}{Logical. Determines if tab is disabled or not - defaults to false}
\item{loading_state}{Lists containing elements 'is_loading', 'prop_name', 'component_name'.
those elements have the following types:
- is_loading (logical; optional): determines if the component is loading or not
- prop_name (character; optional): holds which property is loading
- component_name (character; optional): holds the name of the component that is loading. Object that holds the loading state object coming from dash-renderer}
}
\value{named list of JSON elements corresponding to React.js properties and their values}