MCPcopy
hub / github.com/Splidejs/splide / removeAttribute

Function removeAttribute

src/js/utils/dom/removeAttribute/removeAttribute.ts:10–16  ·  view source on GitHub ↗
( elms: Element | Element[], attrs: string | string[] )

Source from the content-addressed store, hash-verified

8 * @param attrs - An attribute or attributes to remove.
9 */
10export function removeAttribute( elms: Element | Element[], attrs: string | string[] ): void {
11 forEach( elms, elm => {
12 forEach( attrs, attr => {
13 elm && elm.removeAttribute( attr );
14 } );
15 } );
16}

Callers 9

loadFunction · 0.90
destroyFunction · 0.90
updateFunction · 0.90
destroyFunction · 0.90
initNavigationFunction · 0.90
destroyFunction · 0.90
destroyFunction · 0.90
setAttributeFunction · 0.90

Calls 1

forEachFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…