| bsModal | R Documentation |
bsModal is used within the UI to create a modal window.
bsModal(
id,
title,
trigger,
...,
size,
footer = NULL,
close.button = TRUE,
width = NULL
)
id |
A unique identifier for the modal window |
title |
The title to appear at the top of the modal |
trigger |
The id of a button or link that will open the modal. |
... |
UI elements to include within the modal |
size |
Optional What size should the modal be? ( |
footer |
A |
close.button |
Should a close button be added to the footer of the modal? |
width |
An optional width argument for the modal. Must include units. Only applied if |
See Modals for more information about how to use bsModal with the
rest of the Modals family.
Run bsExample("Modals") for an example
of bsModal functionality.
Other Modals:
Modals,
toggleModal()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.