v2.1.2: addElements and addComponents methods
What's Changed
Full Changelog: v2.1.1...v2.1.2
Add this.addElements
and this.addComponents
/this.addNestedComponents
These methods will help remove warnings around declaring this.elements
or this.components
before initialization. Call these methods in the constructor and assign an object of element selectors or nested component objects, respectively.
Note: In TypeScript, you will need to add public elements: Elements
and public components: NestedComponents
in order to use them outside of the class!
Removed lodash
Make this a bit more lightweight. It's not needed.