Example of a custom widget for the javascript viewer

Discussion created by kfouch on Oct 11, 2012
Latest reply on Oct 16, 2012 by kfouch
Am just curious if there are examples of adding a custom widget to the javascript viewer template?  I haven't really found anything around any of the esri sites and I am fairly new to javascript.  I have the code for the functionality of the new widget, I just need some insight on how to implement it via the custom widget and the organization of the custom widget code.

As always any info is greatly appreciated.