Open kpdecker opened 9 years ago
Should provide a way for views to register global event handlers while they are active so init and cleanup boilerplate are not needed in views.
One possible syntax:
events: { window: { 'resize': function() {} }, document: { keyup: function() {} } }
+1 !
Should provide a way for views to register global event handlers while they are active so init and cleanup boilerplate are not needed in views.
One possible syntax: