Author API Methods
getScoringType()
Gets the current scoring type of the Item being edited.
You would want to use this method so that you can verify the scoring used in the Item, for example.
Examples
var scoringType = authorApp.getScoringType();
console.log(scoringType);
Arguments
None.
Return value
Type string
Returns scoringType (string), the current Item scoring type which can be one of the following possible values.
Type boolean
Returns false
if not in the Item editor view.
Related articles
- Per Question, Dichotomous, And Dependent (EBSR) Item Scoring With Examples
- The
setScoringType()
method, which allows you to set the scoring type of the Item being edited.