Directory Structure

The directory structure to be followed for a custom widget.

The directory structure will be similar to the sample structure explained below:

<base-dir>/ 
            library.xml

           <widgetname-dir>/

                           <widgetname>.png

                            <widgetname>.xml

                            css/

                             <widgetname>.css

                            javascript/

                              <widgetname>.js