-
-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathdbcNavbarSimple.Rd
91 lines (63 loc) · 3.87 KB
/
dbcNavbarSimple.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
% Auto-generated: do not edit by hand
\name{dbcNavbarSimple}
\alias{dbcNavbarSimple}
\title{NavbarSimple component}
\description{
A self-contained navbar ready for use. If you need more customisability try `Navbar` instead.
}
\usage{
dbcNavbarSimple(children=NULL, id=NULL, style=NULL, class_name=NULL,
className=NULL, key=NULL, brand=NULL, brand_href=NULL,
brand_style=NULL, brand_external_link=NULL, fluid=NULL,
links_left=NULL, light=NULL, dark=NULL, fixed=NULL,
sticky=NULL, color=NULL, expand=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.}
\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{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{brand}{Character. Brand text, to go top left of the navbar.}
\item{brand_href}{Character. Link to attach to brand.}
\item{brand_style}{Named list. CSS style options for brand.}
\item{brand_external_link}{Logical. If true, the browser will treat the brand link as external,
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.}
\item{fluid}{Logical. The contents of the Navbar are wrapped in a container, use fluid=True to
make this container fluid, so that in particular, the contents of the
navbar fill the available horizontal space.}
\item{links_left}{Logical. Align the navlinks in the navbar to the left. Default: False.}
\item{light}{Logical. Applies the `navbar-light` class to the NavbarSimple, causing text in the
children of the Navbar to use dark colors for contrast / visibility.}
\item{dark}{Logical. Applies the `navbar-dark` class to the NavbarSimple, causing text in the
children of the Navbar to use light colors for contrast / visibility.}
\item{fixed}{Character. Fix the navbar's position at the top or bottom of the page, options: top,
bottom}
\item{sticky}{Character. Stick the navbar to the top or the bottom of the viewport, options: top, bottom
With `sticky`, the navbar remains in the viewport when you scroll. By
contrast, with `fixed`, the navbar will remain at the top or bottom of
the page.}
\item{color}{Character. Sets the color of the NavbarSimple. Main options are primary, light and dark, default light.
You can also choose one of the other contextual classes provided by Bootstrap
(secondary, success, warning, danger, info, white) or any valid CSS color of
your choice (e.g. a hex code, a decimal code or a CSS color name)}
\item{expand}{Logical | character. Specify breakpoint at which to expand the menu bar. Options are: 'xs',
'sm', 'md', 'lg', or 'xl'. Below this breakpoint the navbar will collapse
and navitems will be placed in a togglable collapse element.}
\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}