View source: R/createPrezModal.R
createPrezModal | R Documentation |
This function creates a modal based on a Google Presentation.
createPrezModal(id, modalTitle, prezSrc)
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. |
prezSrc |
This is the URL of the published Google presentation that you want to appear in the modal. |
output$postmortemModal <- renderUI({
createPrezModal("sample","Sample Prezentation Modal",
"https://docs.google.com/presentation/d/14H24z59wQVTnAg9AKD_bIZ6F3DKnGIy9haBK557XMVo/embed?start=false&loop=false&delayms=3000")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.