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

1 comment
Avatar
Vladimir Luchansky
Comment actions Permalink

Hello,

Please explain how this is related to PhpStorm and its functionality?

This sure looks like spy.js-related thing.

0

Please sign in to leave a comment.