Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtelnov committed Sep 1, 2018
2 parents b021d43 + cc0e9c7 commit 92f6023
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 4 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

<a name="1.0.41"></a>
## [1.0.41](https://github.com/surveyjs/widgets/compare/v1.0.40...v1.0.41) (2018-08-29)



<a name="1.0.40"></a>
## [1.0.40](https://github.com/surveyjs/widgets/compare/v1.0.39...v1.0.40) (2018-08-28)



<a name="1.0.39"></a>
## [1.0.39](https://github.com/surveyjs/widgets/compare/v1.0.38...v1.0.39) (2018-08-21)

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "surveyjs-widgets",
"version": "1.0.39",
"version": "1.0.41",
"scripts": {
"start": "npm run build && live-server",
"watch": "webpack --env.buildType dev --watch",
Expand Down
18 changes: 15 additions & 3 deletions src/nouislider.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,18 @@ function init(Survey) {
{
name: "rangeMax:number",
default: 100
},
{
name: "pipsMode",
default: "positions"
},
{
name: "pipsValues:itemvalues",
default: [0, 25, 50, 75, 100]
},
{
name: "pipsDensity:number",
default: 5
}
]);
},
Expand All @@ -41,9 +53,9 @@ function init(Survey) {
step: question.step,
tooltips: true,
pips: {
mode: "positions",
values: [0, 25, 50, 75, 100],
density: 5
mode: question.pipsMode || "positions",
values: question.pipsValues || [0, 25, 50, 75, 100],
density: question.pipsDensity || 5
},
range: {
min: question.rangeMin,
Expand Down

0 comments on commit 92f6023

Please sign in to comment.