The purposes of these changes are to facilitate different ways of manipulating / customizing the color picker control by CSS.
Set the class name 'jscolor-picker-control' in the picker control wrap so it can be targeted in CSS.
Generate a handle for picker instance and save it in the 'data-picker-handle' attribute in both the picker control wrap and callee for cross-reference.
Save the input element's "id" attribute in the 'data-picker-input-id' attribute, (should it have the "id" attribute) for cross-reference.
Save the input element's "class" attribute in the 'data-picker-input-class' attribute, (should it have the "class" attribute) for cross-reference.
The purposes of these changes are to facilitate different ways of manipulating / customizing the color picker control by CSS.
Set the class name 'jscolor-picker-control' in the picker control wrap so it can be targeted in CSS.
Generate a handle for picker instance and save it in the 'data-picker-handle' attribute in both the picker control wrap and callee for cross-reference.
Save the input element's "id" attribute in the 'data-picker-input-id' attribute, (should it have the "id" attribute) for cross-reference.
Save the input element's "class" attribute in the 'data-picker-input-class' attribute, (should it have the "class" attribute) for cross-reference.