shinydashboardPlus (version 0.7.0)

attachmentBlock: AdminLTE2 attachment container

Description

Create an attachment container, nice to wrap articles...

Usage

attachmentBlock(..., src = NULL, title = NULL, title_url = NULL)

Arguments

...

any element.

src

url or path to the image.

title

attachment title.

title_url

external link.

Examples

Run this code
# NOT RUN {
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) { }
 )
}

# }

Run the code above in your browser using DataCamp Workspace