The widget manifest
The data actions provided by the widget
The initial size the widget will be when added into an app.
dependency: string | string
Use this property to load third-party libraries. Pass an absolute URL to a library. See the Using third-party libraries guide for more information.
Alternatively, a widget can define its own dependencies by providing a
- jimu-arcgis: will load the
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.
Exclude those data actions in setting and runtime
Extensions provided by the widget.
You don't need to add this property in your code, this property is added at runtime.
Save the current locale only, but not the default locale.
The default string should be written in manifest.
There are some conventional keys:widgetLabel: the widget label.
This should be same as the
_widgetLabel value in translation/default.ts
Valid only when the
hasEmbeddedLayout is true.
The message actions provided by the widget.
The name must be unique and same as folder name.
Widget manifest properties
publishMessages: MessageType | PublishMessageProperty
The message types published by the widget.
settingDependency: string | string
Dependency for setting component. See
The translated locales the widget provides. Each entry should be a string representing the language version as defined in BCP 47. Examples of valid language codes include "en", "en-US", "fr", "fr-FR", "es-ES", etc. By convention, the default locale is listed first.
The widget/theme version.