i am using mousewheel event. i want something like function "start" and "stop". the start function is going to execute whenever mouse wheel starts and stop function going to execute whenever mousewheel stops ?
is there any callback function in mousewheel event in jquery ?
var matched = jQuery.uaMatch(navigator.userAgent);
var eventName = matched.browser.toLowerCase() == "mozilla" ? "DOMMouseScroll" : "mousewheel";
$(this.element).on(eventName, this.chartMouseWheel);
chartMouseWheel:function()
{
start:
{
},
stop:
{
},
}
i need to do some operation whenever mouse wheel starts and do some other operation when mouse wheel ends ?
how can i do this ?
Thanks,
Siva