Open digreamon opened 9 years ago
I have came up with an idea of parameterization of the scrolling functionality.
javascript this.didScroll = true;
javascript this.didScroll = this.options.scrollMode ? this.options.scrollMode === this.scrollDirection : true;
This will set didScroll to false in case of unneeded scroll event
+1
Is this functionality appears ?
This was an awesome functionality from you @digreamon . Well done :)
I have came up with an idea of parameterization of the scrolling functionality.
javascript this.didScroll = true;
before the if-block;javascript this.didScroll = this.options.scrollMode ? this.options.scrollMode === this.scrollDirection : true;
after if-block;This will set didScroll to false in case of unneeded scroll event