« All deprecation guides
Deprecation Guide for Ember.sendEvent
until: 7.0.0
id: deprecate-import-send-event-from-ember
Previously, sendEvent
could be accessed via the Ember
import:
import Ember from 'ember';
Ember.sendEvent
If needed, sendEvent
can be imported:
import { sendEvent } from '@ember/object/events';