Defined in: | packages/ember-runtime/lib/mixins/copyable.js:13 |
---|---|
Module: | ember |
Implements some standard methods for copying an object. Add this mixin to any object you create that can create a copy of itself. This mixin is added automatically to the built-in array.
You should generally implement the copy()
method to return a copy of the receiver.
Note that frozenCopy()
will only work if you also implement Ember.Freezable
.
© 2017 Yehuda Katz, Tom Dale and Ember.js contributors
Licensed under the MIT License.
https://emberjs.com/api/ember/2.15/classes/Ember.Copyable