3 ms·
A component like jQuery plugin called Freud for jQuery. https://github.com/abuisman/jquery-freud https://github.com/abuisman/jquery-freud I use it so much I n
by mosselman 10y ago
A component like jQuery plugin called Freud for jQuery.
https://github.com/abuisman/jquery-freud https://github.com/abuisman/jquery-freud
I use it so much I nearly forgot I made it myself. With Freud you can apply 'behaviours' to DOM-elements. What this does is that it enables you to work with your DOM-elements in a more object oriented way.
What I use it most for is applying pieces of javascript on the page only when the DOM-elements that I apply freud to are on the page. This way all you get a lot less code in one big js file.