This module implements Observer-friendly Array-like behavior. This mixin is picked up by the
Array class as well as other controllers, etc. that want to appear to be arrays.
Properties
Defined in ember/ember.d.ts:407
public Boolean: boolean
Defined in ember/ember.d.ts:408
public []: Array<any>
Defined in ember/ember.d.ts:409
public firstObject: any
Defined in ember/ember.d.ts:410
public hasEnumerableObservers: boolean
Defined in ember/ember.d.ts:411
public lastObject: any
Defined in ember/ember.d.ts:412
public length: number
Defined in ember/ember.d.ts:413
Defined in ember/ember.d.ts:391
Defined in ember/ember.d.ts:397
Methods
Defined in ember/ember.d.ts:358
Parameters
Returns
Array<any>
Defined in ember/ember.d.ts:359
Parameters
Returns
Enumerable
public any( callback: Function , target?: any ) : boolean
Defined in ember/ember.d.ts:360
Parameters
callback: Function
target?: any optional
Returns
boolean
public anyBy( key: string , value?: string ) : boolean
Defined in ember/ember.d.ts:361
Parameters
key: string
value?: string optional
Returns
boolean
public arrayContentDidChange( startIdx: number , removeAmt: number , addAmt: number ) : Array<any>
Defined in ember/ember.d.ts:362
Parameters
startIdx: number
removeAmt: number
addAmt: number
Returns
Array<any>
public arrayContentWillChange( startIdx: number , removeAmt: number , addAmt: number ) : Array<any>
Defined in ember/ember.d.ts:363
Parameters
startIdx: number
removeAmt: number
addAmt: number
Returns
Array<any>
public compact( ) : Array<any>
Defined in ember/ember.d.ts:365
Returns
Array<any>
public contains( obj: any ) : boolean
Defined in ember/ember.d.ts:366
Parameters
Returns
boolean
public enumerableContentDidChange( start: number , removing: number , adding: number ) : any
Defined in ember/ember.d.ts:367
Parameters
start: number
removing: number
adding: number
Returns
any
public enumerableContentDidChange( start: number , removing: Enumerable , adding: number ) : any
Defined in ember/ember.d.ts:368
Parameters
start: number
adding: number
Returns
any
public enumerableContentDidChange( start: number , removing: number , adding: Enumerable ) : any
Defined in ember/ember.d.ts:369
Parameters
start: number
removing: number
Returns
any
public enumerableContentDidChange( start: number , removing: Enumerable , adding: Enumerable ) : any
Defined in ember/ember.d.ts:370
Parameters
Returns
any
public enumerableContentDidChange( removing: number , adding: number ) : any
Defined in ember/ember.d.ts:371
Parameters
removing: number
adding: number
Returns
any
public enumerableContentDidChange( removing: Enumerable , adding: number ) : any
Defined in ember/ember.d.ts:372
Parameters
Returns
any
public enumerableContentDidChange( removing: number , adding: Enumerable ) : any
Defined in ember/ember.d.ts:373
Parameters
Returns
any
public enumerableContentDidChange( removing: Enumerable , adding: Enumerable ) : any
Defined in ember/ember.d.ts:374
Parameters
Returns
any
public enumerableContentWillChange( removing: number , adding: number ) : Enumerable
Defined in ember/ember.d.ts:375
Parameters
removing: number
adding: number
Returns
Enumerable
public enumerableContentWillChange( removing: Enumerable , adding: number ) : Enumerable
Defined in ember/ember.d.ts:376
Parameters
Returns
Enumerable
public enumerableContentWillChange( removing: number , adding: Enumerable ) : Enumerable
Defined in ember/ember.d.ts:377
Parameters
Returns
Enumerable
Defined in ember/ember.d.ts:378
Parameters
Returns
Enumerable
public every( callback: Function , target?: any ) : boolean
Defined in ember/ember.d.ts:379
Parameters
callback: Function
target?: any optional
Returns
boolean
public everyBy( key: string , value?: string ) : boolean
Defined in ember/ember.d.ts:380
Parameters
key: string
value?: string optional
Returns
boolean
public everyProperty( key: string , value?: string ) : boolean
Defined in ember/ember.d.ts:381
Parameters
key: string
value?: string optional
Returns
boolean
public filter( callback: Function , target: any ) : Array<any>
Defined in ember/ember.d.ts:382
Parameters
callback: Function
target: any
Returns
Array<any>
public filterBy( key: string , value?: string ) : Array<any>
Defined in ember/ember.d.ts:383
Parameters
key: string
value?: string optional
Returns
Array<any>
public find( callback: Function , target: any ) : any
Defined in ember/ember.d.ts:384
Parameters
callback: Function
target: any
Returns
any
public findBy( key: string , value?: string ) : any
Defined in ember/ember.d.ts:385
Parameters
key: string
value?: string optional
Returns
any
public forEach( callback: Function , target?: any ) : any
Defined in ember/ember.d.ts:386
Parameters
callback: Function
target?: any optional
Returns
any
public getEach( key: string ) : Array<any>
Defined in ember/ember.d.ts:387
Parameters
Returns
Array<any>
public indexOf( object: any , startAt: number ) : number
Defined in ember/ember.d.ts:388
Parameters
object: any
startAt: number
Returns
number
public invoke( methodName: string , any?: Array<any> ) : Array<any>
Defined in ember/ember.d.ts:389
Parameters
methodName: string
any?: Array<any> optional
Returns
Array<any>
public lastIndexOf( object: any , startAt: number ) : number
Defined in ember/ember.d.ts:390
Parameters
object: any
startAt: number
Returns
number
public mapBy( key: string ) : Array<any>
Defined in ember/ember.d.ts:392
Parameters
Returns
Array<any>
public nextObject( index: number , previousObject: any , context: any ) : any
Defined in ember/ember.d.ts:393
Parameters
index: number
previousObject: any
context: any
Returns
any
public objectAt( idx: number ) : any
Defined in ember/ember.d.ts:394
Parameters
Returns
any
public objectsAt( number?: Array<any> ) : Array<any>
Defined in ember/ember.d.ts:395
Parameters
number?: Array<any> optional
Returns
Array<any>
public reduce( callback: ReduceCallback , initialValue: any , reducerProperty: string ) : any
Defined in ember/ember.d.ts:396
Parameters
initialValue: any
reducerProperty: string
Returns
any
public rejectBy( key: string , value?: string ) : Array<any>
Defined in ember/ember.d.ts:398
Parameters
key: string
value?: string optional
Returns
Array<any>
Defined in ember/ember.d.ts:399
Parameters
Returns
Array<any>
Defined in ember/ember.d.ts:400
Parameters
Returns
Enumerable
public setEach( key: string , value?: any ) : any
Defined in ember/ember.d.ts:401
Parameters
key: string
value?: any optional
Returns
any
public slice( beginIndex?: number , endIndex?: number ) : Array<any>
Defined in ember/ember.d.ts:402
Parameters
beginIndex?: number optional
endIndex?: number optional
Returns
Array<any>
public some( callback: Function , target?: any ) : boolean
Defined in ember/ember.d.ts:403
Parameters
callback: Function
target?: any optional
Returns
boolean
public someProperty( key: string , value?: string ) : boolean
Defined in ember/ember.d.ts:364
Parameters
key: string
value?: string optional
Returns
boolean
public toArray( ) : Array<any>
Defined in ember/ember.d.ts:404
Returns
Array<any>
Defined in ember/ember.d.ts:405
Returns
Enumerable
public without( value: any ) : Enumerable
Defined in ember/ember.d.ts:406
Parameters
Returns
Enumerable