Quiz Components
<ArlinearQuiz> Component
Input Parameters
Parameter | Type | Description |
---|---|---|
| String | The unique identifier for the quiz. |
| String | The primary key associated with the student. If empty, grades are not saved. |
| Number | Control how many questions to show per page. |
| Function | A function to run when the user submits the quiz. |
| Object | (Optional) If passing in a submission, it will show the corrected quiz with the student's inputs. |
Example usage:
<ArlinearQuizWithResult>
Input Parameters
Parameter | Type | Description |
---|---|---|
| String | The unique identifier for the quiz. |
| String | The primary key associated with the student. If empty, grades are not saved. |
| Number | Control how many questions to show per page. |
| Function | A function to run when the user submits the quiz. |
| Function | A function to run when the user clicks the "Try again" button at the end of the quiz. |
Example usage:
Last updated