.on Jquery Function
Posted: Mon Nov 24, 2014 11:24 pm
Checkout this Jquery pluggin :
https://github.com/luis-almeida/unveil/ ... .unveil.js
if i minify the above line to say this :
in the pluggin code , it works just fine for me , atleast for the purpose i am using it for .
noow i don't quite get the concept of adding the .unveil after adding the event type . WHY The .unveil ???
basically if i minify the line below :
to say :
it still works fine . so whats the difference ???
https://github.com/luis-almeida/unveil/ ... .unveil.js
Code: Select all
$w.on("scroll.unveil resize.unveil lookup.unveil", unveil);Code: Select all
$w.on("scroll.unveil ", unveil);noow i don't quite get the concept of adding the .unveil after adding the event type . WHY The .unveil ???
basically if i minify the line below :
Code: Select all
$w.on("scroll.unveil ", unveil);Code: Select all
$w.on("scroll", unveil);