Folder structure

All of content glass widget inherent from the base object CGWidget.

When creating a new widget is recommend to organize the folders in the next structure for easy navigation and understanding.

  • Base folder
    • Manifest.js
    • Library folder
      • Widgets folder
        • widget 1 folder
          • widget1.js
          • HTML folder
          • CSS folder
        • Widget 2 folder
          • Widget2.js
          • HTML folder
          • CSS folder
      • widgetLibrary.js

There can be more folder and files under the base folder but this will be explained in other pages.

Before starting it's recommend to create the folder tree for easy quick file creation.