powered by
Call this function once in your app's UI.
use_micromodal()
htmltools::tagList()
This function adds the dependencies needed for the modals.
See micromodal() for a complete example.
micromodal()
if (interactive()) { library(shiny) library(micromodal) ui <- fluidPage( use_micromodal(), # the rest of your UI code ) }
Run the code above in your browser using DataLab