Controlling the Open State
The ColorPicker enables you to control the open state of its popup element.
To programmatically open or close the ColorPicker, use its
When you use the
togglemethod, the ColorPicker does not trigger its
The following example demonstrates the
toggle method in action.