Answer Posted / Paritosh Kumar
Here's an example of a simple ColorPicker widget in Dojo: <pre><code>require(['dijit/form/ColorPicker'], function (ColorPicker) { var cp = new ColorPicker({}, 'cp_node'); cp.startup(); });</code></pre> In this example, the ColorPicker widget is instantiated and started up with a reference to the DOM node where it should be rendered ('cp_node').
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category