1.2.2 • Published 8 years ago

element-array v1.2.2

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

element-array

Get an array of DOM elements

Build Status npm

Install

yarn add element-array

Or grab the latest UMD build.

Usage

Pass a selector string, NodeList, HTMLCollection, DOM element, or jQuery object and get an array of DOM elements.

elementArray('.someSelector')
elementArray(document.querySelectorAll('.someSelector'))
elementArray(document.body)
elementArray($('.someSelector'))

License

MIT

1.2.2

8 years ago

1.2.1

8 years ago

1.1.0

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago