npm

Check out our latest tech talk, "JavaScript Supply Chain Security" presented by VP of Security, Adam Baldwin.Watch it here »

mishamyrt-noquery

1.0.3 • Public • Published

noQuery

A function for elements selection in 71 ASCII chars.

const button = $('.button')

If only one element is found, the function will return it. Otherwise, it will return an array with all native methods.

$('.buttons').forEach((button) => {
    button.onclick = () => {
        // do something
    }
})

install

npm i mishamyrt-noquery

Downloadsweekly downloads

20

version

1.0.3

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability