use_micromodal | R Documentation |
Call this function once in your app's UI.
use_micromodal()
This function adds the dependencies needed for the modals.
See micromodal()
for a complete example.
htmltools::tagList()
if (interactive()) {
library(shiny)
library(micromodal)
ui <- fluidPage(
use_micromodal(),
# the rest of your UI code
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.