Rename a deprecated UI5 settings property in JavaScript
ProprietaryRenames a deprecated property inside the settings object a UI5 control's constructor takes, where the successor gives it another name. new Button({tap: onTap}) becomes new Button({press: onTap}).
io. moderne. javascript. ui5. RenameUi5SettingInJavaScriptRequired
The module of the control whose settings carry the property.
The property as it is written today.
The property the successor takes instead.
mod run . --recipe= io. moderne. javascript. ui5. RenameUi5SettingInJavaScript \
-P module= sap/ m/ Button \
-P from= tap \
-P to= pressInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.