Merge branch 'master' into #52/custom-color-picker-layout

This commit is contained in:
keegan-lillo
2016-03-16 08:25:59 +11:00
18 changed files with 697 additions and 194 deletions
+15
View File
@@ -85,6 +85,21 @@ module.exports = {
hide: hide,
show: show
},
slider: {
get: function() {
return parseFloat(this.$manipulatorTarget.get('value'));
},
set: function(value) {
var initVal = this.get();
this.$manipulatorTarget.set('value', value);
if (this.get() === initVal) { return this; }
return this.trigger('change');
},
disable: disable,
enable: enable,
hide: hide,
show: show
},
checked: {
get: function() {
return this.$manipulatorTarget.get('checked');