Example on color picker in dojo framework?



Example on color picker in dojo framework?..

Answer / 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

More Dojo Toolkit Interview Questions

Is jquery better than dojo?

1 Answers  


what makes a widget?

1 Answers  


Explain about language libraries in dojo?

1 Answers  


What are the most prominent features of dojo?

1 Answers  


Do you know why does in many of tests html files have style="visibility:hidden;"?

1 Answers  


Explain about environment-specific libraries in dojo?

1 Answers  


What are the several dijit layout widgets?

1 Answers  


whether Dojo is a part of Ajax and distinguishes their roles?

1 Answers  


Explain the dojo architecture?

1 Answers  


Explain about the language libraries in Dojo?

1 Answers  


Example of dojo script using widgets?

1 Answers  


List out some of the components that come along with Dojo Framework?

1 Answers  


Categories