Customizing HTML for v8 "button_html" parameter #3460
steventmartinez
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I recently upgraded to jsPsych v8 and I'm having trouble understanding how can I customize the HTML for each button using the updated button_html parameter.
For example, if I wanted to make the two buttons different sizes, how can I adjust the button_html parameter to accomplish that? This is my attempt below, but it seems that both buttons are inheriting the second HTML formatting code, such that both buttons inherit the "width:5 vw; height: 4vh" attributes.
Thank you so much in advance for any insights on this!
Beta Was this translation helpful? Give feedback.
All reactions