interface_store.IWidgetPermission
interface/store.IWidgetPermission
Permissions for widget creation, deletion, renaming, location change, etc. are dependent on the number table or dashboard where the applet is located. Permission judgments for these operations are handled at the top level. The widget itself has only one permission, namely whether it can write data to the storage. This permission is dynamically calculated based on the environment the widget is currently in.
Properties
storage
• storage: Object
Type declaration
Name | Type |
---|---|
editable | boolean |
datasheet
• Optional
datasheet: IDatasheetPermission