Open pixelhandler opened 9 years ago
See: https://github.com/emberjs/ember.js/issues/10534 - FastBoot changes seem to break setting Application#customEvents within initializer
For now the consuming application will need to setup the custom events for toggleOffCanvas, expandOffCanvas, collapseOffCanvas. see: https://github.com/pixelhandler/ember-off-canvas-components/blob/master/addon/initializers/custom-events.js#L6-L11
toggleOffCanvas
expandOffCanvas
collapseOffCanvas
See http://emberjs.com/api/classes/Ember.Application.html#toc_event-delegation for how to setup customEvents
var App = Ember.Application.create({ customEvents: { toggleOffCanvas: 'toggleOffCanvas', expandOffCanvas: 'expandOffCanvas', collapseOffCanvas: 'collapseOffCanvas' } });
Perhaps this is resolved now: https://github.com/emberjs/rfcs/pull/69#issuecomment-131172505
See: https://github.com/emberjs/ember.js/issues/10534 - FastBoot changes seem to break setting Application#customEvents within initializer
For now the consuming application will need to setup the custom events for
toggleOffCanvas
,expandOffCanvas
,collapseOffCanvas
. see: https://github.com/pixelhandler/ember-off-canvas-components/blob/master/addon/initializers/custom-events.js#L6-L11See http://emberjs.com/api/classes/Ember.Application.html#toc_event-delegation for how to setup customEvents