- From: Oliver Dunk <notifications@github.com>
- Date: Tue, 07 May 2019 07:17:17 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 7 May 2019 14:17:39 UTC
@domenic If I already have a class name stored in a variable, using `getElementsByClassName` seems like the most expressive choice. I agree that `querySelector` would work but it seems unfortunate to encourage building a selector string which will be parsed back into a class name moments later. -- 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/757#issuecomment-490099031
Received on Tuesday, 7 May 2019 14:17:39 UTC