| rave-input-output-card | R Documentation |
Input and output card (front-end element)
input_card(
title,
...,
class = "",
class_header = "shidashi-anchor",
class_body = "padding-10",
class_foot = "padding-10",
href = "auto",
tools = NULL,
footer = NULL,
append_tools = TRUE,
toggle_advanced = FALSE,
module_id = get0("module_id", ifnotfound = NULL, envir = parent.frame())
)
output_card(
title,
...,
class = "",
class_body = "padding-10",
class_foot = "padding-10",
href = "auto",
tools = NULL,
append_tools = TRUE,
module_id = get0("module_id", ifnotfound = NULL, envir = parent.frame())
)
title |
title of the card |
... |
additional elements to be included in the card, see
|
class |
the 'HTML' class for card |
class_header |
the 'HTML' class for card header; default is
|
class_body |
the 'HTML' class for card body; default is
|
class_foot |
the 'HTML' class for card footer; default is
|
href |
hyper reference link of the card |
tools |
a list of additional card tools, see
|
footer |
footer elements |
append_tools |
whether to append |
toggle_advanced |
whether to show links in the footer to toggle
elements with 'HTML' class |
module_id |
the 'RAVE' module ID |
'HTML' tags
card
input_card(title = "Condition selector",
"Please select experimental conditions:",
shiny::selectInput(
inputId = "condition", label = "Condition",
choices = c("Audio", "Visual")
))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.