Wraps whatever UI elements are passed to it in a card format that can then be swiped to the left, right, up, or down with the results of that action being sent to the shiny app.

shinyswipr_UI(id, ...)

Arguments

id

The id of the current element you are entering

...

Any other UI elements you wish to include within the swiping zone.

See also

Examples

if (FALSE) { shinyswipr_UI(id = "myswipr", h1("This is my title"), p("here is some text")) }