( elms: Element | Element[], attrs: string | string[] )
| 8 | * @param attrs - An attribute or attributes to remove. |
| 9 | */ |
| 10 | export 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 | } |
no test coverage detected
searching dependent graphs…