A small update to tags$img
and tags$figure
. Create responsive images with
img
. figure
has specific arguments for an image child element and image
caption.
img(src, ...)figure(image, caption = NULL, ...)
A character string specifying the source of the image.
Additional tag elements or named arguments passed as HTML attributes to the parent element.
An <img>
tag, typically a call to img
.
A character string specifying the image caption, defaults to
NULL
.
Other content: alert
, badge
,
blockquote
, card
,
collapsiblePane
, d1
,
dropdown
, jumbotron
,
modal
, navContent
,
popover
, pre
,
progressOutlet
, toast
,
tooltip