Page History
...
Code Block | ||||
---|---|---|---|---|
| ||||
{ "name": "String simple name of the component", "displayName": "String more descriptive name that is shown in the designer", "librariesicon": Array"A ofreference js/cssto referencesthe thaticon needsshown to be included for this componentin designer" , "palette_icondefinition": "A reference to the iconjs shownfile inof designerthis component", "definitionlibraries": A reference Array of js/css references that needs to thebe jsincluded filefor of 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