Dojo Interviewfragen und Antworten
Question: Example on Color Picker in Dojo framework.Answer:The dojox.widget.ColorPicker widget that allows user to select a color (in hexa format). This is a form component. We can add this component on the form to our requirement. <html> <head> <title>Color Picker Example</title> <style type="text/css"> @import "../dijit/themes/soria/soria.css"; @import "/resources/dojo.css"; @import "../dojox/widget/ColorPicker/ColorPicker.css"; </style> <script type="text/javascript" src="dojo.js" djConfig="parseOnLoad: true"></script> <script type="text/javascript"> dojo.require("dojox.widget.ColorPicker"); dojo.require("dojo.parser"); </script> </head> <body class="soria"> <b>Please select the color:</b> <div id="colorPicker" dojoType="dojox.widget.ColorPicker"></div> </body> </html> |
Zum Wiederholen speichern
Speichere diesen Eintrag als Lesezeichen, markiere ihn als schwierig oder lege ihn in einem Wiederholungsset ab.
Melde dich an, um Lesezeichen, schwierige Fragen und Wiederholungssets zu speichern.
Ist das hilfreich? Ja Nein
Am hilfreichsten laut Nutzern:
- What is Dojo?
- What is the basic structure in Dojo?
- Give a sample example on Dojo.
- What are Application Support Libraries in Dojo?
- What is Package System in Dojo?