-
-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathdbcSpinner.Rd
69 lines (45 loc) · 2.75 KB
/
dbcSpinner.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
% Auto-generated: do not edit by hand
\name{dbcSpinner}
\alias{dbcSpinner}
\title{Spinner component}
\description{
Render Bootstrap style loading spinners using only CSS. This component can be used standalone to render a loading spinner, or it can be used like `dash_core_components.Loading` by giving it children. In the latter case the chosen spinner will display while the children are loading.
}
\usage{
dbcSpinner(children=NULL, id=NULL, fullscreen_style=NULL,
spinner_style=NULL, fullscreen_class_name=NULL,
fullscreenClassName=NULL, spinner_class_name=NULL,
spinnerClassName=NULL, color=NULL, type=NULL, size=NULL,
fullscreen=NULL, delay_hide=NULL, delay_show=NULL,
show_initially=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{fullscreen_style}{Named list. Defines CSS styles for the container when fullscreen=True.}
\item{spinner_style}{Named list. Inline CSS styles to apply to the spinner.}
\item{fullscreen_class_name}{Character. Often used with CSS to style elements with common properties.}
\item{fullscreenClassName}{Character. **DEPRECATED** - use `fullscreen_class_name` instead.
Often used with CSS to style elements with common properties.}
\item{spinner_class_name}{Character. CSS class names to apply to the spinner.}
\item{spinnerClassName}{Character. **DEPRECATED** - use `spinner_class_name` instead.
CSS class names to apply to the spinner.}
\item{color}{Character. Sets the color of the Spinner. Main options are Bootstrap contextual
colors: primary, secondary, success, info, warning, danger, light, dark,
body, muted, white-50, black-50. You can also specify any valid CSS color
of your choice (e.g. a hex code, a decimal code or a CSS color name)
If not specified will default to text colour.}
\item{type}{Character. The type of spinner. Options 'border' and 'grow'. Default 'border'.}
\item{size}{Character. The spinner size. Options are 'sm', and 'md'.}
\item{fullscreen}{Logical. Boolean that determines if the loading spinner will be displayed
full-screen or not.}
\item{delay_hide}{Numeric. When using the spinner as a loading spinner, add a time delay (in ms) to
the spinner being removed to prevent flickering.}
\item{delay_show}{Numeric. When using the spinner as a loading spinner, add a time delay (in ms) to
the spinner being shown after the loading_state is set to true.}
\item{show_initially}{Logical. Whether the Spinner should show on app start-up before the loading state
has been determined. Default True.}
}
\value{named list of JSON elements corresponding to React.js properties and their values}