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