createUIModal: Create a Modal Based on a User Interface

View source: R/createUIModal.R

createUIModalR Documentation

Create a Modal Based on a User Interface

Description

This function creates a modal based on a Shiny UI.

Usage

createUIModal(id, modalTitle, uiOutputText)

Arguments

id

This is the id of the modal that you are creating.

modalTitle

This is the title of the modal that appears at the top of the modal.

uiOutputText

This can be a tag list or a uiOutput from some other Shiny output.

Examples

  createUIModal("sample-id","Upload file modal",
                tagList(
                  fileInput("file1", "Load a File:")
                ))

jsdeherrera/shinyBoots documentation built on March 9, 2024, 3:03 a.m.