.. _dojox/widget/ColorPicker: dojox.widget.ColorPicker ======================== :Status: Draft :Version: 1.0 :Project owner: Nathan Toone :Available: since V1.1 .. contents:: :depth: 2 A Photoshop-like HSV ColorPicker widget. ============ Introduction ============ This ColorPicker adds many options to the standard :ref:`ColorPallete ` available in Dijit. ===== Usage ===== To use the ColorPicker you need to first load the CSS: .. code-block :: html :linenos: And Require the module: .. code-block :: javascript :linenos: dojo.require("dojox.widget.ColorPicker"); ======== Examples ======== Programmatic example -------------------- .. code-example:: .. css:: .. javascript:: .. html::
Declarative example ------------------- .. code-example:: .. css:: .. javascript:: .. html::
A ColorPicker within a DropDownButton ------------------------------------- .. code-example:: .. css:: .. javascript:: .. html::
ColorPicker
===== Notes ===== ``NOTE:`` as of Dojo 1.2, The ColorPicker is experimental, and doesn't implement the Dijit .attr() method for getting and setting values.