Number Survey
A survey component in which the instructor may collect numeric survey data from students in real-time.
Options
- question |
(string|node)
: the question to be displayed. Default:''
. - allowMultipleAnswers |
boolean
: controls whether the same user (or session if anonymous) may submit multiple answers). Default:false
. - anonymous |
boolean
: Allows for the students to submit data anonymously. Note that if this option is set to "true", then the instructors will be unable to see the ID of the submitting student. Default:false
. - step |
(number|string)
: Astring
ornumeric
value indicating the step of the arrows seen when hovering the cursor above the input box. If'any'
, the step will be set to1
. Default:'any'
. - style |
object
: CSS inline styles. Default:{}
. - onSubmit |
function
: callback function invoked once students submits an answer. Default:onSubmit() {}
.
Examples
Live Editor
Result
ReferenceError: Provider is not defined