View source: R/question_clicker.R
clicker_question | R Documentation |
By default, clicker questions are only rendered if the option stat305templates.render_clicker_questions
is
TRUE
or if it is a function which returns TRUE
.
clicker_question( title, ..., body = NULL, in_class_only = FALSE, container_class = NULL, force_render = FALSE, btn_text = "Show Clicker Question" )
title |
question title. |
... |
5 answer options. They will be numbered 'A'-'E'. |
body |
optional question body. |
in_class_only |
if the question should only be shown 'in-class' or also when printing out the slides. |
container_class |
additional HTML classes to add to the container. |
force_render |
should the question always be rendered? |
btn_text |
text for the "show" button. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.