attachmentBlock: AdminLTE3 attachment container

Description Usage Arguments Author(s) See Also Examples

View source: R/useful-items.R

Description

attachmentBlock create an attachment container, nice to wrap articles... and insert in a box.

Usage

1

Arguments

...

Any element.

image

url or path to the image.

title

Attachment title.

href

External link.

Author(s)

David Granjon, dgranjon@ymail.com

See Also

Other boxWidgets: bs4CardLabel(), bs4CardSidebar(), bs4Carousel(), bs4SocialCard(), bs4Timeline(), cardDropdown(), cardProfile(), descriptionBlock(), userPost()

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
if (interactive()) {
 library(shiny)
 library(bs4Dash)
 
 shinyApp(
  ui = dashboardPage(
    dashboardHeader(),
    dashboardSidebar(),
    dashboardBody(
     box(
      title = "attachmentBlock example",
      attachmentBlock(
       image = "https://adminlte.io/themes/AdminLTE/dist/img/photo1.png",
       title = "Test",
       href = "https://google.com",
       "This is the content"
      )
     )
    ),
    title = "attachmentBlock"
  ),
  server = function(input, output) { }
 )
}

bs4Dash documentation built on July 23, 2021, 5:06 p.m.