#' The item card used in the trailers
#' application to display the items selected
#'
#'
#' @param img The image location for the UI
#' @param pos The numeric position of the UI card
#'
#' @export
item <- function(img, pos) {
shiny::HTML(paste0(
'<div class="card">
<img src="',
img,
'" style="width:100%">
<p>',pos,'</p>
</div>'
))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.