-
-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathdbcModal.Rd
100 lines (60 loc) · 3.55 KB
/
dbcModal.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
% Auto-generated: do not edit by hand
\name{dbcModal}
\alias{dbcModal}
\title{Modal component}
\description{
Create a toggleable dialog using the Modal component. Toggle the visibility with the `is_open` prop.
}
\usage{
dbcModal(children=NULL, id=NULL, style=NULL, class_name=NULL,
className=NULL, tag=NULL, is_open=NULL, centered=NULL,
scrollable=NULL, autofocus=NULL, autoFocus=NULL, size=NULL,
role=NULL, labelledby=NULL, labelledBy=NULL, keyboard=NULL,
backdrop=NULL, modal_class_name=NULL, modalClassName=NULL,
backdrop_class_name=NULL, backdropClassName=NULL,
content_class_name=NULL, contentClassName=NULL, fade=NULL,
fullscreen=NULL, zindex=NULL, zIndex=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{tag}{Character. HTML tag to use for the Modal, default: div}
\item{is_open}{Logical. Whether modal is currently open.}
\item{centered}{Logical. If true, vertically center modal on page.}
\item{scrollable}{Logical. It true, scroll the modal body rather than the entire modal when it is too
long to all fit on the screen.}
\item{autofocus}{Logical. Puts the focus on the modal when initialized.}
\item{autoFocus}{Logical. **DEPRECATED** Use `autofocus` instead
Puts the focus on the modal when initialized.}
\item{size}{Character. Set the size of the modal. Options sm, lg, xl for small, large or extra
large sized modals, or leave undefined for default size.}
\item{role}{Character. The ARIA role attribute.}
\item{labelledby}{Character. The ARIA labelledby attribute}
\item{labelledBy}{Character. **DEPRECATED** Use `labelledby` instead
The ARIA labelledby attribute}
\item{keyboard}{Logical. Close the modal when escape key is pressed.}
\item{backdrop}{Logical | a value equal to: 'static'. Includes a modal-backdrop element. Alternatively, specify 'static' for a
backdrop which doesn't close the modal on click.}
\item{modal_class_name}{Character. CSS class to apply to the modal.}
\item{modalClassName}{Character. **DEPRECATED** Use `modal_class_name` instead
CSS class to apply to the modal.}
\item{backdrop_class_name}{Character. CSS class to apply to the backdrop.}
\item{backdropClassName}{Character. **DEPRECATED** Use `backdrop_class_name` instead
CSS class to apply to the backdrop.}
\item{content_class_name}{Character. CSS class to apply to the modal content.}
\item{contentClassName}{Character. **DEPRECATED** Use `content_class_name` instead
CSS class to apply to the modal content.}
\item{fade}{Logical. Set to false for a modal that simply appears rather than fades into view.}
\item{fullscreen}{A value equal to: proptypes.bool, proptypes.oneof(['sm-down', 'md-down', 'lg-down', 'xl-down', 'xxl-down']). Renders a fullscreen modal. Specifying a breakpoint will render the modal
as fullscreen below the breakpoint size.}
\item{zindex}{Numeric | character. Set the z-index of the modal. Default 1050.}
\item{zIndex}{Numeric | character. **DEPRECATED** Use `zindex` instead
Set the z-index of the modal. Default 1050.}
}
\value{named list of JSON elements corresponding to React.js properties and their values}