Node | Description |
---|
Method | Description |
---|---|
module:sap/ui/VersionInfo._getTransitiveDependencyForComponent |
If the given component is part of the version-info, an array with all transitive dependencies is returned. The dependency list includes the library in which the component itself is contained. |
module:sap/ui/VersionInfo._getTransitiveDependencyForLibraries |
Gets all additional transitive dependencies for the given list of libraries. Returns a new array. |
module:sap/ui/VersionInfo.load |
Loads the version info file (resources/sap-ui-version.json) asynchronously and returns a Promise. The returned Promise resolves with the version info files content. If a library name is specified then the version info of the individual library will be retrieved. In case of the version info file is not available an error will occur when calling this function. |
If the given component is part of the version-info, an array with all transitive dependencies is returned. The dependency list includes the library in which the component itself is contained.
Param | Type | DefaultValue | Description |
---|---|---|---|
sComponentName | string |
the component name |
Gets all additional transitive dependencies for the given list of libraries. Returns a new array.
Param | Type | DefaultValue | Description |
---|---|---|---|
aLibraries | string[] |
a list of libraries for which the transitive dependencies will be extracted from the sap.ui.versioninfo |
Loads the version info file (resources/sap-ui-version.json) asynchronously and returns a Promise. The returned Promise resolves with the version info files content.
If a library name is specified then the version info of the individual library will be retrieved.
In case of the version info file is not available an error will occur when calling this function.
Param | Type | DefaultValue | Description |
---|---|---|---|
mOptions | object |
an object map (see below) |
|
library | string |
name of the library (e.g. "sap.ui.core") |