-
-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathdbcBreadcrumb.Rd
67 lines (48 loc) · 2.86 KB
/
dbcBreadcrumb.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
% Auto-generated: do not edit by hand
\name{dbcBreadcrumb}
\alias{dbcBreadcrumb}
\title{Breadcrumb component}
\description{
Use breadcrumbs to create a navigation breadcrumb in your app.
}
\usage{
dbcBreadcrumb(id=NULL, items=NULL, style=NULL, item_style=NULL,
class_name=NULL, className=NULL, item_class_name=NULL,
itemClassName=NULL, key=NULL, tag=NULL, loading_state=NULL)
}
\arguments{
\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{items}{List of lists containing elements 'label', 'href', 'active', 'external_link', 'target', 'title'.
those elements have the following types:
- label (character; optional): label to display inside the breadcrumbs.
- href (character; optional): url of the resource to link to
- active (logical; optional): apply 'active' style to this component.
- external_link (logical; optional): if true, the browser will treat this as an external link, forcing a
page refresh at the new location. if false, this just changes the
location without triggering a page refresh. use this if you are
observing dcc.location, for instance. defaults to true for absolute
urls and false otherwise.
- target (character; optional): target attribute to pass on to the link. only applies to external links.
- title (character; optional): title attribute for the inner a elements. The details of the items to render inside of this component.}
\item{style}{Named list. Defines CSS styles which will override styles previously set.}
\item{item_style}{Named list. Defines inline CSS styles that will be added to each item in the
breadcrumbs.}
\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{item_class_name}{Character. Class name to apply to each item.}
\item{itemClassName}{Character. **DEPRECATED** - use item_class_name instead.
Class name ot apply to each item.}
\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{tag}{Named list. HTML tag to use for the outer breadcrumb component. Default: "nav".}
\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}