Docs4dev
Docs
Docs4dev
  • Tools
  • Privacy
  • GitHub

Search

Loading search index…

No recent searches

No results for "Query here"

  • to select
  • to navigate
  • to close

Search by FlexSearch

On this page

On this page
ember / 2 / classes / ember.nativearray.html

Class Ember.NativeArray

public Observable,MutableArray
Uses: Ember.Copyable ,
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

  • @each
  • []
  • firstObject
  • hasArrayObservers
  • lastObject
  • length

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

  • Privacy Policy
  • 蜀ICP备14021783号-6
  • Brought to you by Docs4dev