Learn R Programming

micromodal (version 1.0.0)

use_micromodal: Use micromodal

Description

Call this function once in your app's UI.

Usage

use_micromodal()

Arguments

Value

htmltools::tagList()

Details

This function adds the dependencies needed for the modals.

See micromodal() for a complete example.

Examples

Run this code
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