Interface
The base interface for both widgets and themes.
Properties
| Property | Type | Notes |
|---|---|---|
exbVersion | string | A widget may only support certain framework versions due to breaking API changes, so this property allows the widget/theme to define the framework version that it supports. This version check is not currently enforced, but will be enforced in the future. |
i18nMessages | any | You don't need to add this property in your code, this property is added at runtime. |
label | string | This should be same as the |
name | string | The name must be unique and same as folder name. |
notAllowAdd | boolean | Whether the widget can be added to the app, default is false. Widgets that will be deprecated can set this property to true. The code is still available, but the widget will not be shown in the widget list. |
version | string | The widget/theme version. The format of the version must follow this pattern: MAJOR.MINOR.PATCH, see semver for details. |