scroll event not firing
szelga opened this issue · 1 comments
szelga commented
class MyView extends View
. . .
events:
'scroll': 'doScroll'
doScroll: ->
console.log "scrolling..."
. . .
doesn't show anything in the console. see https://github.com/szelga/brunch-with-chaplin for example. vanilla Backbone should work with this event (haven't tried myself but saw a number of examples).
szelga commented
my bad, i didn't see the difference between 'scroll'
on window
and 'scroll'
on @el
. turns out, i needed the former which can't be done via events
dictionary.