[wp-trac] [WordPress Trac] #38263: Color picker: add a hue-only mode

WordPress Trac noreply at wordpress.org
Tue Oct 18 21:34:35 UTC 2016


#38263: Color picker: add a hue-only mode
------------------------------+-------------------------
 Reporter:  celloexpressions  |       Owner:  mattwiebe
     Type:  enhancement       |      Status:  assigned
 Priority:  normal            |   Milestone:  4.7
Component:  Customize         |     Version:  3.5
 Severity:  normal            |  Resolution:
 Keywords:  needs-patch       |     Focuses:  javascript
------------------------------+-------------------------

Comment (by mattwiebe):

 The above patch was with help from @joshcummingsdesign

 I might not get to `WP_Customize_Color_Control` today but it should be
 pretty straightforward.

 In `wpColorPicker`, you just do `$(inputEl).wpColorPicker({ type: 'hue'
 })` to create a hue-only slider.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38263#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list