spy js view js variable value
i try spy js on a real website that use nav menu that stic kt othe top when scrool .
The jquery code is paste below
function processScroll() {
var scrollTop = $win.scrollTop(), M = 10;
if(scrollTop >= navTop && !isFixed) {
isFixed = 1;
$nav.addClass('navbar-fixed-top');
$sep.addClass('fixed-margin');
} else if(scrollTop <= navTop - M && isFixed) {
isFixed = 0;
$nav.removeClass('navbar-fixed-top');
$sep.removeClass('fixed-margin');
}
}
How can i spy scrolTop & navTop variable value in spy.js launch inside phpstorm ?
Regard's
请先登录再写评论。
Hello,
Please explain how this is related to PhpStorm and its functionality?
This sure looks like spy.js-related thing.