Specify a button response
response_button(choices, button_html = NULL, margin_vertical = "0px", margin_horizontal = "8px")
choices | Character vector with labels for the buttons |
---|---|
button_html | HTML templay specifying the buttons (defaults to jsPsych default) |
margin_vertical | Vertical margin of the buttons (default "0px") |
margin_horizontal | Horizontal margin of the buttons (default "8px") |
An object of class xpt_response