Widget scroll in main page

I need to capture scroll event in widget, In main page there is a inner widget page which is scrollable, I need to capture if scroll happens, and window.scroll is not detecting this, not sure how to do. I tried registry.id(‘dummy’).domNode and ‘scroll’ , function(){…}.

Could someone help me. If am not clear let me know. I elaborate further,

Try:
widget.on(‘scroll’, function(evt){ …});

jc

1 Like