createUIModal: Create a Modal Based on a User Interface

Description Usage Arguments Examples

View source: R/createUIModal.R

Description

This function creates a modal based on a Shiny UI.

Usage

1
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

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

jsdeherrera/shinyBoots documentation built on July 2, 2017, 1:01 p.m.