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