create_modal: Allows for the creation of modals in the server side without...

View source: R/modal.R

create_modalR Documentation

Allows for the creation of modals in the server side without being tied to a specific HTML element.

Description

Allows for the creation of modals in the server side without being tied to a specific HTML element.

Usage

create_modal(
  ui_modal,
  show = TRUE,
  session = shiny::getDefaultReactiveDomain()
)

showModal(ui, session = shiny::getDefaultReactiveDomain())

Arguments

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 ui_modal in show modal

See Also

modal


Appsilon/shiny.semantic documentation built on April 21, 2024, 5:49 p.m.