Get all elements in the document matching selector. Shorthand for querySelectorAll
querySelectorAll
DOM selector
Optional context element for DOM query
A NodeList of all elements matching the selector
const $elA = $$('.example')const $elB = $$('input[value]') Copy
const $elA = $$('.example')const $elB = $$('input[value]')
Get all elements in the document matching selector. Shorthand for
querySelectorAll