« All deprecation guides
Deprecation Guide for Ember.ControllerMixin
until: 7.0.0
id: deprecate-import-controller-mixin-from-ember
Previously, ControllerMixin
could be accessed via the Ember
import:
import Ember from 'ember';
Ember.ControllerMixin
ControllerMixin
is also private.
If needed, ControllerMixin
can be imported:
import { ControllerMixin } from '@ember/controller';
However, due to ControllerMixin
being private, it is not recommended, nor supported.