Image Question
A question that asks the user to upload an image.
Options
- question |
(string|node)
: text for the question. Default:''
. - hintPlacement |
string
: placement of the hints (eithertop
,left
,right
, orbottom
). Default:'bottom'
. - hints |
array<(string|node)>
: hints providing guidance on how to answer the question. Default:[]
. - feedback |
boolean
: controls whether to display feedback buttons. Default:true
. - chat |
boolean
: controls whether the element should have an integrated chat. Default:false
. - disableSubmitNotification |
boolean
: controls whether a notification should be displayed after submitting an image. Default:false
. - className |
string
: class name. Default:''
. - sketchpad |
object
: properties to be passed to component; to render the sketchpad, pass in at least an empty object{}
. Default:none
. - solution |
string
: image URL of model solution. Default:none
. - until |
Date
: time until students should be allowed to submit answers. Default:none
. - points |
number
: maximum number of points awarded in grading. Default:10
. - style |
object
: CSS inline styles. Default:{}
. - onSubmit |
function
: callback invoked when answer is submitted; has as a sole parameter aboolean
indicating whether the elements were placed in the correct order. Default:onSubmit() {}
.
Examples
- Minimal
- With Sketchpad
- Submit Plot
- Solution
Live Editor
Result
ReferenceError: Provider is not defined