« 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/modifier';