| attachmentBlock {shinydashboardPlus} | R Documentation |
Create an attachment container, nice to wrap articles...
attachmentBlock(..., src = NULL, title = NULL, title_url = NULL)
... |
any element. |
src |
url or path to the image. |
title |
attachment title. |
title_url |
external link. |
David Granjon, dgranjon@ymail.com
if (interactive()) {
library(shiny)
library(shinydashboard)
shinyApp(
ui = dashboardPage(
dashboardHeader(),
dashboardSidebar(),
dashboardBody(
box(
title = "Attachment example",
attachmentBlock(
src = "http://kiev.carpediem.cd/data/afisha/o/2d/c7/2dc7670333.jpg",
title = "Test",
title_url = "http://google.com",
"This is the content"
)
)
),
title = "AttachmentBlock"
),
server = function(input, output) { }
)
}