View source: R/shuffle_widget.R
Create a grid layout in RMarkdown.
Arrange the grid with arrange_button
s and filter it with crosstalk inputs.
1 2 3 4 5 6 7 8 9 10 11 |
... |
List of |
card_list |
Alternative list of |
shared_data |
A 'crosstalk' |
options |
Options for Shuffle, see |
no_card |
UI definition (or text) to display when all cards are filtered out. |
use_bs_grid |
Allow to use Bootstrap grid system, e.g. same
as in |
width |
A numeric input in pixels. |
height |
A numeric input in pixels. |
shuffleId |
Use an explicit element ID for the widget.
Needed to associate the widget to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.