Answer the question
In order to leave comments, you need to log in
Why can't I insert a function into the callback?
I'm trying to insert a function call into the callback viewportChecker
$('div').viewportChecker({
classToAdd: 'visible',
classToRemove: 'invisible',
invertBottomOffset: true,
repeat: false,
callbackFunction: function(elem, action){
anyFunction();
}, //
scrollHorizontal: false
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question