click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r727513 - /incubator/click/trunk/click/extras/src/META-INF/web/click/colorpicker/colorpicker.js
Date Wed, 17 Dec 2008 21:14:55 GMT
Author: sabob
Date: Wed Dec 17 13:14:55 2008
New Revision: 727513

URL: http://svn.apache.org/viewvc?rev=727513&view=rev
Log:
doco

Modified:
    incubator/click/trunk/click/extras/src/META-INF/web/click/colorpicker/colorpicker.js

Modified: incubator/click/trunk/click/extras/src/META-INF/web/click/colorpicker/colorpicker.js
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/META-INF/web/click/colorpicker/colorpicker.js?rev=727513&r1=727512&r2=727513&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/META-INF/web/click/colorpicker/colorpicker.js (original)
+++ incubator/click/trunk/click/extras/src/META-INF/web/click/colorpicker/colorpicker.js Wed
Dec 17 13:14:55 2008
@@ -20,7 +20,21 @@
 // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 
 /**
- * Click specific extensions.
+ * This script provides a ColorPicker popup which allows users to pick
+ * colors from a color palette.
+ *
+ * Usage:
+ *      Click.colorPicker.showColorPicker(
+ *         { inputObjId:'myField', imageId: 'myField_img', resourcePath:'/myapp' }
+ *      )
+ *
+ * @option String inputObjId Specifies the HTML id of the ColorPicker input
+ *   textfield where the color value will be stored.
+ * @option String imageId Specifies the HTML id of the ColorPicker img tag.
+ * @option String resourcePath Specifies the URL path to the ColorPicker image
+ *   resources.
+ *
+ * More options are available below. See Click.colorPicker.defaults.
  */
 
 // Make sure that the Click namespace exists



Mime
View raw message