attachmentBlock {shinydashboardPlus}R Documentation

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.

Author(s)

David Granjon, dgranjon@ymail.com

Examples

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) { }
 )
}


[Package shinydashboardPlus version 0.6.0 Index]