Skip to content

Commit

Permalink
added _showScaleNumbers to example.json and README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
moloko committed Jul 17, 2018
1 parent 609c507 commit 1c916ef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,12 @@ guide the learner’s interaction with the component.
**_showNumber** (boolean): When set to `true`, a numeric value appears on the marker described in **_showScaleIndicator**. The value indicates the slider's position on the scale. The default is `true`. Note that **_showScaleIndicator** must be set to `true` in order for this to work.

**_showScaleIndicator** (boolean): When set to `true`, a marker for the position of the slider along the scale is shown. If **_showNumber** is `true` this marker will contain a numeric value. If **_showNumber** is `false` a blank marker is shown.
**_showScaleIndicator** (boolean): Set to `true`, a marker for the position of the slider along the scale is shown. If **_showNumber** is `true` this marker will contain a numeric value. If **_showNumber** is `false` a blank marker is shown.

**_showScale** (boolean): When set to `false`, visual indications of the scale—range of numbers and short rules—are not displayed. The default is `true`.

**_showScaleNumbers** (boolean): When set to `false`, numbers are not shown over the scale items. Useful if you have a scale with very many steps where displaying that many numbers would make it look crowded or even unreadable. The default is `true`.

**_feedback** (object): If the [**Tutor** extension](https://github.com/adaptlearning/adapt-contrib-tutor) is enabled, these various texts will be displayed depending on the submitted answer. **_feedback**
contains values for three types of answers: **correct**, **_incorrect**, and **_partlyCorrect**. Some attributes are optional. If they are not supplied, the default that is noted below will be used.

Expand Down
1 change: 1 addition & 0 deletions example.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"_showNumber": true,
"_showScaleIndicator": true,
"_showScale": true,
"_showScaleNumbers": true,
"labelStart": "incomplete",
"labelEnd": "complete",
"_scaleStart": 1,
Expand Down

0 comments on commit 1c916ef

Please sign in to comment.