Class DS.Model

Extends: Ember.Object
Module: ember-data
Since: v2.16.0

The model class that all Ember Data records descend from. This is the public API of Ember Data models. If you are using Ember Data in your application, this is the class you should use. If you are working on Ember Data internals, you most likely want to be dealing with InternalModel

Show:

Module: ember-data

Available since v2.16.0

Fired when the record enters the error state.

Module: ember-data

Available since v2.16.0

Fired when the record becomes invalid.

Module: ember-data

Available since v2.16.0

Fired when a new record is commited to the server.

Module: ember-data

Available since v2.16.0

Fired when the record is deleted.

Module: ember-data

Available since v2.16.0

Fired when the record is loaded from the server.

Module: ember-data

Available since v2.16.0

Fired when the record is updated.

Module: ember-data

Available since v2.16.0

Fired when the record is ready to be interacted with, that is either loaded from the server or created locally.

Module: ember-data

Available since v2.16.0

Fired when the record is rolled back.