-
Notifications
You must be signed in to change notification settings - Fork 18
SVOGauge Widget v7
- status : complete
- version : 7.x
The SVOGauge measures the level of social value orientation (S.V.O.) of a participant. The default measurement (gauge) is the "Slider Measure," as found in Murphy et Al. (2011).
- sliders: is an array of arrays, where each nested element specifies the values to split between self and other for each choice.
The return value is an object containing an entry for each of the
sliders (see Usecase section). If a selection for one or more
slider is missing, then the return object contains the property
missValues
equal to TRUE.
// Creates and append a new SVOGauge widget.
var root = document.body;
var svo = node.widgets.append('SVOGauge', root);
// After userGet current values.
svo.getValues();
// Object {
// id: "svo_slider"
// items: {
// "1": {
// id: "1",
// group: "svo_slider",
// groupOrder: 1,
// attempts: Array[0],
// choice: [ 85, 15 ],
// isCorrect: true,
// nClicks: 1,
// time: 1537
// },
// "2": Object,
// "3": Object,
// "4": Object,
// "5": Object,
// "6": Object
// },
// missValues: true,
// order: [ 0, 1, 2, 3, 4, 5 ]
// };
Go back to the wiki Home.
Copyright (C) 2021 Stefano Balietti
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.