- From: Rakina Zata Amni <notifications@github.com>
- Date: Wed, 13 Jun 2018 21:46:19 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 14 June 2018 04:46:51 UTC
If we want this for boolean attributes only, probably `toggleAttribute(attr[,force])` should work just fine? Maybe for cases like setting `crossorigin` to something other than an empty string such as `use-credentials`, `setAttribute` should be used. -- 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/461#issuecomment-397169020
Received on Thursday, 14 June 2018 04:46:51 UTC