create_modal {shiny.semantic} | R Documentation |
Allows for the creation of modals in the server side without being tied to a specific HTML element.
create_modal(
ui_modal,
show = TRUE,
session = shiny::getDefaultReactiveDomain()
)
showModal(ui, session = shiny::getDefaultReactiveDomain())
ui_modal |
HTML containing the modal. |
show |
If the modal should only be created or open when called (open by default). |
session |
Current session. |
ui |
Same as |
modal