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