"ui-widget ui-widget-content" );
this._refresh();
- this._setOption( "disabled", this.options.disabled );
this._animateOff = false;
},
valsLength = this.options.values.length;
}
- if ( key === "disabled" ) {
- this._toggleClass( null, "ui-state-disabled", !!value );
- }
-
this._super( key, value );
switch ( key ) {
}
},
+ _setOptionDisabled: function( value ) {
+ this._super( value );
+
+ this._toggleClass( null, "ui-state-disabled", !!value );
+ },
+
//internal value getter
// _value() returns value trimmed by min and max, aligned by step
_value: function() {