View source: R/napjack_helpers.R
render_card_grid | R Documentation |
This function takes a matrix of card objects and renders them as a grid of
card images using Shiny's renderImage
function. The resulting grid is
returned as a Shiny UI component.
render_card_grid(new_card_grid)
new_card_grid |
A matrix of card objects, where each cell contains a
card object with an |
The function applies renderImage
to each card object in the matrix,
creating a grid of card images. The images are displayed in a fluid row
layout, with each image occupying an equal portion of the available width.
A Shiny UI component representing the grid of rendered card images.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.