changedAttributesObject
Defined in addon/-private/system/model/model.js:605
Returns an object, whose keys are changed properties, and value is an [oldProp, newProp] array. The array represents the diff of the canonical state with the local state of the model. Note: if the model is created locally, the canonical state is empty since the adapter hasn't acknowledged the attributes yet: Example app/models/mascot.js
import DS from 'ember-data';
export default DS.Model.extend({
name: attr('str