We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Methods related to jQuery.sap.*(DOM Utils) are deprecated. Therefore an autofix should be offered by UI5 linter.
jQuery.sap.*(DOM Utils)
Deprecated APIs:
var isBChildOfAOrEqualA = jQuery.sap.containsOrEquals(document.getElementById("controlA"), document.getElementById("controlB")); var iScrollBegin = jQuery.sap.denormalizeScrollBeginRTL(100); var iScrollLeft = jQuery.sap.denormalizeScrollLeftRTL(101, document.getElementById("controlA")); var ownerWindow = jQuery.sap.ownerWindow(document.getElementById("controlA")); var size = jQuery.sap.scrollbarSize("myclassA", true); jQuery.sap.includeScript("myapp/fancy/awesome.js", "fancyAwesomeScript"); jQuery.sap.includeStylesheet("myapp/fancy/style.css", "fancyStyleSheet"); var isPatched = jQuery.sap.replaceDOM(document.getElementById("controlA"), document.getElementById("controlB")); var rem = jQuery.sap.pxToRem("16px"); var px = jQuery.sap.remToPx("1rem");
sap.ui.define([ "sap/ui/dom/containsOrEquals", "sap/ui/dom/denormalizeScrollBeginRTL", "sap/ui/dom/denormalizeScrollLeftRTL", "sap/ui/dom/getOwnerWindow", "sap/ui/dom/getScrollbarSize", "sap/ui/dom/includeScript", "sap/ui/dom/includeStylesheet", "sap/ui/dom/patch", "sap/ui/dom/units/Rem" ], (containsOrEquals, denormalizeScrollBeginRTL, denormalizeScrollLeftRTL, getOwnerWindow, getScrollbarSize, includeScript, includeStylesheet, patch, Rem) => { var isBChildOfAOrEqualA = containsOrEquals(document.getElementById("controlA"), document.getElementById("controlB")); var iScrollBegin = denormalizeScrollBeginRTL(100); var iScrollLeft = denormalizeScrollLeftRTL(101, document.getElementById("controlA")); var ownerWindow = getOwnerWindow(document.getElementById("controlA")); var size = getScrollbarSize("myclassA", true); includeScript("myapp/fancy/awesome.js", "fancyAwesomeScript"); includeStylesheet("myapp/fancy/style.css", "fancyStyleSheet"); var isPatched = patch(document.getElementById("controlA"), document.getElementById("controlB")); var rem = Rem.fromPx("16px"); var px = Rem.toPx("1rem"); });
Note: "sap/ui/dom/patch" is removed with openui5#84ae02e87
The text was updated successfully, but these errors were encountered:
Will be implemented in CPOUI5FOUNDATION-990.
Sorry, something went wrong.
No branches or pull requests
Missing autofix for methods related to jQuery.sap.* (DOM Utils)
Methods related to
jQuery.sap.*(DOM Utils)
are deprecated. Therefore an autofix should be offered by UI5 linter.Deprecated APIs:
Deprecated Usage
Recommended Usage
Note: "sap/ui/dom/patch" is removed with openui5#84ae02e87
The text was updated successfully, but these errors were encountered: