canDispatchToEventManagerboolean
private
It enables events to be dispatched to the view's eventManager.
When present, this object takes precedence over handling of events on the view itself.
Note that most Ember applications do not use this feature. If your app also does not use it, consider setting this property to false to gain some performance improvement by allowing the EventDispatcher to skip the search for the eventManager
on the view tree.
let EventDispatcher = Em.EventDispatcher.extend({ events: { click : 'click', focusin : 'focusIn', focusout : 'focusOut', change : 'change' }, canDispatchToEventManager: false }); container.register('event_dispatcher:main', EventDispatcher);
Default: 'true'
Please login to continue.