- From: Domenic Denicola <notifications@github.com>
- Date: Mon, 22 May 2017 10:30:07 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 22 May 2017 17:30:39 UTC
I agree this is something I've wanted for a long time, although properly using reflected properties (like `el.hidden = false`) works pretty well. If we were to do a new API, my preference would be `el.toggleAttribute(attributeName, bool)` (where if the `bool` is omitted, it toggles it away from its current state). -- 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-303167207
Received on Monday, 22 May 2017 17:30:39 UTC