Add getElements method
This commit is contained in:
3
src/scripts/lib/proto/get-elements.js
Normal file
3
src/scripts/lib/proto/get-elements.js
Normal file
@@ -0,0 +1,3 @@
|
||||
module.exports = function(el) {
|
||||
return el.querySelectorAll(this.options.elements)
|
||||
}
|
||||
Reference in New Issue
Block a user