Class sap.ui.core.EnabledPropagatorModule: sap/ui/core/EnabledPropagator


Helper Class for enhancement of a Control with propagation of enabled property.

This constructor should be applied to the prototype of a control

Example: sap.ui.core.EnabledPropagator.call(Some-Control.prototype, Default-value, ...); e.g. sap.ui.core.EnabledPropagator.call(sap.ui.commons.Button.prototype);

Constructor Summary
new sap.ui.core.EnabledPropagator(bDefault?, bLegacy?)
Constructor Detail
new sap.ui.core.EnabledPropagator(bDefault?, bLegacy?)
Parameters:
{boolean}bDefault?, Default: true the value that should be used as default value for the enhancement of the control.
{boolean}bLegacy? whether the introduced property should use the old name 'Enabled'