View source: R/bucket_problem.R
This function implements the bucket problem, as exposed by
question_bucket()
. Most users will only use this function inside a
learnr
tutorial, so please see the documentation at question_bucket()
1 2 3 4 5 |
initial |
Vector with initial values for problem (to appear in left column). Note: this must be a super-set of all answers. |
text |
Vector of headings for each column. |
header |
Text that appears at the top of the bucket list. (This is
encoded as an HTML |
input_id |
Character vector of |
group_name |
Passed to |
class |
A css class applied to the rank list. This can be used to define custom styling. |
options |
Options to be supplied to sortable_js object. See sortable_options for more details |
orientation |
Either |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.