Class Ember.NativeArray
publicUses: | Ember.Copyable , | Observable , MutableArray
---|---|
Defined in: | packages/ember-runtime/lib/system/native_array.js:25 |
Module: | @ember/array |
The NativeArray mixin contains the properties needed to make the native Array support Ember.MutableArray and all of its dependent APIs. Unless you have EmberENV.EXTEND_PROTOTYPES
or EmberENV.EXTEND_PROTOTYPES.Array
set to false, this will be applied automatically. Otherwise you can apply the mixin at anytime by calling Ember.NativeArray.apply(Array.prototype)
.
Methods
- addArrayObserver
- addObject
- addObjects
- addObserver
- any
- arrayContentDidChange
- arrayContentWillChange
- cacheFor
- clear
- compact
- decrementProperty
- every
- filter
- filterBy
- find
- findBy
- forEach
- get
- getEach
- getProperties
- getWithDefault
- includes
- incrementProperty
- indexOf
- insertAt
- invoke
- isAny
- isEvery
- lastIndexOf
- map
- mapBy
- notifyPropertyChange
- objectAt
- objectsAt
- popObject
- pushObject
- pushObjects
- reduce
- reject
- rejectBy
- removeArrayObserver
- removeAt
- removeObject
- removeObjects
- removeObserver
- replace
- reverseObjects
- set
- setEach
- setObjects
- setProperties
- shiftObject
- slice
- sortBy
- toArray
- toggleProperty
- uniq
- uniqBy
- unshiftObject
- unshiftObjects
- without
Properties
Events
No documented items
© 2020 Yehuda Katz, Tom Dale and Ember.js contributors
Licensed under the MIT License.
https://api.emberjs.com/ember/2.18/classes/Ember.NativeArray