View source: R/createUIModal.R
createUIModal | R Documentation |
This function creates a modal based on a Shiny UI.
createUIModal(id, modalTitle, uiOutputText)
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. |
createUIModal("sample-id","Upload file modal",
tagList(
fileInput("file1", "Load a File:")
))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.