Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Re : Control cannot listen to scroll event ?

$
0
0
Scroll doesn't bubble. Controller can listen to it, you'll just have to make sure the controller is on the element being scrolled itself. Otherwise, you could synthetically force a bubble, such as binding to the child element directly and triggering a synthetic event or just something the controller is listening for.


Viewing all articles
Browse latest Browse all 3491

Trending Articles