Page History
...
Code Block | ||||
---|---|---|---|---|
| ||||
{ "name": String simple name of the component "displayName": String more descriptive name that is shown in the designer "libraries": Array of js/css references that needs to be included for this component, "palette_icon": A reference to the icon shown in designer "definition": A reference to the js file of this component "model": { "propertyName": type description, optional default value }, "handlers": { "functionName": function type }, "api": { "functionName": signature description }, "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