Home
last modified time | relevance | path

Searched refs:currentAttrValue (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/packages/SystemUI/scripts/token_alignment/helpers/
DDOMFuncs.ts148 const currentAttrValue = el.getAttribute(attr); constant
150 if (!currentAttrValue) return;
154 currentAttrValue.length >= oldStr.length &&
155 currentAttrValue.indexOf(oldStr) ==
156 currentAttrValue.length - oldStr.length
158 el.setAttribute(attr, currentAttrValue.replace(oldStr, newStr));