From 3b19cbd52052b58558930b5a845eb7a3bb97ba0e Mon Sep 17 00:00:00 2001 From: Boghyon Hoffmann Date: Thu, 5 Oct 2023 19:35:38 +0200 Subject: [PATCH] [FIX] Descriptor_for_Applications_Components_and_Libraries_manifest_json_be0cf40.md - `sap.ui.core.CommandExecution` property `command` requires the command name to exist in the descriptor. - Fix1: move `, as introduced with 1.58, loads the` to the correct place. - Fix2: remove another `, as introduced with`. - Fix3: add missing `Version 21`. --- ...s_Components_and_Libraries_manifest_json_be0cf40.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/Descriptor_for_Applications_Components_and_Libraries_manifest_json_be0cf40.md b/docs/Descriptor_for_Applications_Components_and_Libraries_manifest_json_be0cf40.md index 9cded82c..1bd3c3c1 100644 --- a/docs/Descriptor_for_Applications_Components_and_Libraries_manifest_json_be0cf40.md +++ b/docs/Descriptor_for_Applications_Components_and_Libraries_manifest_json_be0cf40.md @@ -61,7 +61,7 @@ Version 2 -\>=1.30, as introduced with 1.58, loads the +\>=1.30 @@ -153,7 +153,7 @@ Version 6 -, as introduced with\>=1.42 +\>=1.42 @@ -491,7 +491,7 @@ Version 20 -  +Version 21 @@ -1418,7 +1418,7 @@ For more information on the new fields introduced in each version, check out [Mi ### Manifest First Function -The component factory function [`Component.create`](https://sdk.openui5.org/api/sap.ui.core.Component%23methods/sap.ui.core.Component.create)`manifest.json` by default before the component instance is created. With this, you can preload the dependencies \(libraries and components\) and, thus, improve the performance for loading the component. The preload is also available for models, which can be flagged for preload during component loading. +The component factory function [`Component.create`](https://sdk.openui5.org/api/sap.ui.core.Component%23methods/sap.ui.core.Component.create), as introduced with 1.58, loads the `manifest.json` by default before the component instance is created. With this, you can preload the dependencies \(libraries and components\) and, thus, improve the performance for loading the component. The preload is also available for models, which can be flagged for preload during component loading. The `manifest` option allows you to configure when and from where the descriptor is loaded: @@ -2497,7 +2497,7 @@ Specifies provided commands with a unique key/alias. Contains: - `shortcut`: String that describes a key combination. When the user presses the key combination, the command is triggered. - +The name of the command, that contains the `shortcut` definition, acts as a prerequisite for using the `command` property of the [`sap/ui/core/CommandExecution`](https://sdk.openui5.org/api/sap.ui.core.CommandExecution) module.