Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
Titanium Color Picker (HSL Type)
---
///Currently only works on the iPhone///
---
primary files: colorpicker.js, images/*
Methods:
createColorPicker();
Parameters:
hexColor - required. Used to set the initial color of the picker
Events:
colorselect - is triggered when user selects "select"
Properties:
hexColor: hex color without hash character
hexColorWithHash: hex color with hash character
hslcolor: object {h: hue value, s: saturation value, l: luminosity value}
rgbcolor: object {r: red value, g: green value: b: blue value}
selectcancel - is triggered when user selects "cancel"