datasketch / shinypanels

Collapsible panels layout for r shiny apps
Other
80 stars 11 forks source link

show modal in any component #98

Closed jpmarindiaz closed 3 years ago

jpmarindiaz commented 3 years ago

Create a function clickable_modal(ui_htmls, modalcontents) to be used in the UI so that one can easily add a modal to any UI component

ui <- panelsPage(
panel(
 clickable_modal(
   selectInput(...),
list(
   h1("Modal Title"),
  p("more modal contents")
)
)
)
)