Dom Specific Manipulation with jQuery
Hi Folks,
How are people managing dom manipulation in Spark? For example, say I want to use the jQuery Match Height plugin to make certain elements the same height. How would you guys pull this in and use it with how Spark is setup for JS?
For example, I install the jquery match height plugin via NPM, then in my home.js component, before I declare the component, I use var matchHeight = require('jquery-match-height');, then I can do `$('.element').matchHeight(); in the mounted() method of that component.
This just doesn't feel right, though. How do you guys do it and then compile the assets with Gulp/Elixir?
Thanks
Please or to participate in this conversation.