Rename a deprecated UI5 settings property in JavaScript

Proprietary

Renames 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.RenameUi5SettingInJavaScript

Required

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=press

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.