wired_image: Wired Image

Description Usage Arguments Value Examples

View source: R/components.R

Description

Wired Image

Usage

1
wired_image(src, elevation = 1, ...)

Arguments

src

URL / path of the image.

elevation

Numerical number between 1-5 (inclusive) - sets the elevation of the card. Default is 1.

...

Named attributes to be applied to the image.

Value

an HTML tag

Examples

1
2
3
4
5
6
7
8
9
library(htmltools)
wired_image(
  src = "https://www.gstatic.com/webp/gallery/1.sm.jpg"
)

wired_image(
  src = "https://www.gstatic.com/webp/gallery/1.sm.jpg",
  elevation = 5
)

dreamRs/wired documentation built on Nov. 19, 2019, 5 a.m.