slick_div | R Documentation |
Wraps an R object in slickR compatible DOM
slick_div( x, css = htmltools::css(marginLeft = "auto", marginRight = "auto"), type = "img", links = NULL )
x |
object |
css |
css object, Default: htmltools::css(marginLeft='auto',marginRight='auto') |
type |
character, type of DOM, Default: 'img' |
links |
character, links to use on the input object, Default: NULL |
Method converts xml_document, htmlwidget, character, or list of objects to a compatible DOM
list of shiny tag objects
Other html:
slick_list()
# image slick_div(nba_team_logo$uri[1]) # vector of images slick_div(nba_team_logo$uri[c(1:5)]) # text slick_div('abc',type = 'p')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.