Page History
...
Code Block | ||||
---|---|---|---|---|
| ||||
{ "name": "String packagename-componentname", "displayName": "String more descriptive name that is shown in the designer", "version": the component version (integer) "icon": "A reference to the icon shown in designer" , "definition": "A reference to the js file of this component", "libraries": Array of js/css definitions (map with 'name'-the lib name, 'version'-the lib version, 'url'-the lib url, 'mimetype'-the lib mimetype, one of 'text/javascript' or 'text/css') that needs to be included for this component, "model": { "propertyName": type description, optional default value }, "handlers": { "functionName": "function type" }, "api": { "functionName": signature description json }, "types": { "typename": { "model": { "propertyName": "type description" } } } } |
A WebComponent specifies all its properties under the model, all the events under handlers and api has the javascript api the webcomponent has that the server can call.
...
Overview
Content Tools
Activity