top | item 17616327

(no title)

awy | 7 years ago

querySelector() will get you one element, otherwise you can use something like

Array.from(querySelectorAll('*')).forEach()

It is a little more cumbersome.

discuss

order

ngrilly|7 years ago

Yes, this is what I do, and I agree it's a little more cumbersome. That's why I asked ;-)