Skip to content
Javier Pedemonte edited this page Jul 9, 2012 · 8 revisions

Widget Libraries

Home > Widget-Libraries

In order to be usable by Maqetta, a widget library will need to provide:

  • library code - The actual JS widget library code.
  • widget metadata - Data describing the library itself and the widgets it provides.
  • "helper" code - JS code which can be run by Maqetta to better support widgets.
  • theme metadata - Used by theme editor, allowing user to create a derivative theme.

Widget libraries will generally have a layout such as this:

WebContent
|--- library
|    +--- widget.js
+--- metadata
     |--- library
     |    |--- widget_oam.json
     |    +--- WidgetHelper.js
     |--- packages.json
     +--- widgets.json

Package.json

XXX TODO

Continue...

Consult the following sections for additional information:

  1. Widget Metadata
  2. Helpers
  3. Theme Metadata (XXX TODO)

Clone this wiki locally