Class Ember.NativeArray
publicUses: | Observable , | MutableArray
---|---|
Defined in: | packages/@ember/-internals/runtime/lib/mixins/array.js:1948 |
Module: | ember |
The NativeArray mixin contains the properties needed to make the native Array support 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
- 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/3.25/classes/Ember.NativeArray