state - Initialization - Grading API

Grading API Initialization

state

Sets the state of the Activity when the grading is initialized. By default, a new grading session is always created.

You would want to use this to start a new grading session or load the existing grading session data.

Examples

// Start the grading in the "review" state
var initializationOptions = {
    "state": "review"
    // ...
};

Values

Attribute path state

Default "initial"

Type string

Possible values

  • "initial" starts a fresh new session of grading with scores and feedback.
  • "review" loads the session data, pre-populates all saved graded scores and feedback. All scores and feedback are rendered in a read-only mode.
Was this article helpful?

Did you arrive here by accident? If so, learn more about Learnosity.