+ mode: 'hsv',
+ type: 'full',
+ slider: 'horizontal'
+ },
+ _createHueOnly: function() {
+ var self = this,
+ el = self.element,
+ color;
+
+ // hide input
+ el.hide();
+ // max saturated color for hue to be obvious
+ color = 'hsl(' + el.val() + ', 100, 50)';
+
+ el.iris( {
+ mode: 'hsl',
+ type: 'hue',
+ hide: false,
+ color: color,
+ change: function( event, ui ) {
+ if ( $.isFunction( self.options.change ) ) {
+ self.options.change.call( this, event, ui );
+ }
+ },
+ width: self.options.width,
+ slider: self.options.slider
+ } );