- From: Jimmy Wärting <notifications@github.com>
- Date: Thu, 10 Dec 2020 14:09:10 -0800
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 10 December 2020 22:09:22 UTC
Like with `classList` you can remove multiple classes with `classList.remove(token1[, token2[, ...tokenN]])` was thinking maybe we could have the same thing for removing attributes `node.removeAttribute('src', 'alt')` instead of having to do: ```js image.removeAttribute('src'); image.removeAttribute('alt'); ``` -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/932
Received on Thursday, 10 December 2020 22:09:22 UTC