A demo to show how to use Vue.js custom directives to create reusable animation/cohesive animation on a scrolling site. This example is used for a cookbook recipe
cool, I've used a directive to solve the problem for SO at
any thoughts on the listeners hanging around once they've done their job?
Hi @scorch! I actually remove the listener in my directives. That's what the end argument does :)
ooops, was late at night and wasn't thinking. The issue I was concerned about is unloading the component without clearing listeners. I didn't test it, but thought that they could be kept around.
Need to know how to enable it? Go here.