namespace sap.ui.fl.apply.api.FlexRuntimeInfoAPI

Visiblity: restricted
Available since: N/A
Module: sap/ui/fl/apply/api/FlexRuntimeInfoAPI
Application Component: CA-UI5-FL

Provides an API to get specific information about the sap.ui.fl runtime.


Nodes Overview

Node Description

Methods Overview

Method Description
sap.ui.fl.apply.api.FlexRuntimeInfoAPI.hasVariantManagement

Determines if an encompassing variant management control is available.

sap.ui.fl.apply.api.FlexRuntimeInfoAPI.isFlexSupported

Checks if the flexibility features are supported for a given control.

sap.ui.fl.apply.api.FlexRuntimeInfoAPI.isPersonalized

Checks if personalization changes exist for controls.

sap.ui.fl.apply.api.FlexRuntimeInfoAPI.waitForChanges

Resolves with a promise after all the changes for all controls that are passed have been processed. You can either pass a single control, multiple controls or an array with objects that may contain additional configuration. Only use one of the possible parameters.

sap.ui.fl.apply.api.FlexRuntimeInfoAPI.hasVariantManagement

Determines if an encompassing variant management control is available.

Param Type DefaultValue Description
mPropertyBag object

Object with parameters as properties

element sap.ui.core.Element

Element which should be tested for an encompassing variant management control

sap.ui.fl.apply.api.FlexRuntimeInfoAPI.isFlexSupported

Checks if the flexibility features are supported for a given control.

Param Type DefaultValue Description
mPropertyBag object

Object with parameters as properties

element sap.ui.core.Element

Control to be checked

sap.ui.fl.apply.api.FlexRuntimeInfoAPI.isPersonalized

Checks if personalization changes exist for controls.

Param Type DefaultValue Description
mPropertyBag object

Object with parameters as properties

selectors sap.ui.fl.Selector[]

An array of sap.ui.fl.Selectors for which personalization should exist

changeTypes array

Additional filter for types of changes that should have existing personalization

sap.ui.fl.apply.api.FlexRuntimeInfoAPI.waitForChanges

Resolves with a promise after all the changes for all controls that are passed have been processed. You can either pass a single control, multiple controls or an array with objects that may contain additional configuration. Only use one of the possible parameters.

Param Type DefaultValue Description
mPropertyBag object

Object with parameters as properties

element sap.ui.fl.Selector

Control whose changes are being waited for, the control has to exist

selectors sap.ui.fl.Selector[]

An array of sap.ui.fl.Selectors, whose changes are being waited for, the controls have to exist

complexSelectors object[]

An array containing an object with sap.ui.fl.Selector and further configuration

selector sap.ui.fl.Selector

A sap.ui.fl.Selector

changeTypes string[]

An array containing the change types that will be considered. If empty no filtering will be done