An ArrayProxy wraps any other object that implements Ember.Array and/or Ember.MutableArray,
forwarding all requests. This makes it very useful for a number of binding use cases or other cases
where being able to swap out the underlying array is useful.
Properties
Defined in ember/ember.d.ts:538
public Boolean: boolean
Defined in ember/ember.d.ts:539
public []: Array<any>
Defined in ember/ember.d.ts:537
public concatenatedProperties: Array<any>
Defines the properties that will be concatenated from the superclass (instead of overridden).
public firstObject: any
Defined in ember/ember.d.ts:540
public hasEnumerableObservers: boolean
Defined in ember/ember.d.ts:541
public static isClass: boolean
Defined in ember/ember.d.ts:472
public isDestroyed: boolean
Destroyed object property flag. If this property is true the observers and bindings were
already removed by the effect of calling the destroy() method.
public isDestroying: boolean
Destruction scheduled flag. The destroy() method has been called. The object stays intact
until the end of the run loop at which point the isDestroyed flag is set.
public static isMethod: boolean
Defined in ember/ember.d.ts:473
public lastObject: any
Defined in ember/ember.d.ts:542
public length: number
Defined in ember/ember.d.ts:543
Defined in ember/ember.d.ts:509
Defined in ember/ember.d.ts:519
Methods
Defined in ember/ember.d.ts:474
Parameters
Returns
Array<any>
public addEnumerableObserver( target: any , opts: EnumerableConfigurationOptions ) : Array<any>
Defined in ember/ember.d.ts:475
Parameters
Returns
Array<any>
public addObject( object: any ) : any
Defined in ember/ember.d.ts:544
Parameters
Returns
any
public addObjects( objects: Enumerable ) : Array<any>
Defined in ember/ember.d.ts:545
Parameters
Returns
Array<any>
public any( callback: Function , target?: any ) : boolean
Defined in ember/ember.d.ts:476
Parameters
callback: Function
target?: any optional
Returns
boolean
public anyBy( key: string , value?: string ) : boolean
Defined in ember/ember.d.ts:477
Parameters
key: string
value?: string optional
Returns
boolean
public arrayContentDidChange( startIdx: number , removeAmt: number , addAmt: number ) : Array<any>
Defined in ember/ember.d.ts:478
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:479
Parameters
startIdx: number
removeAmt: number
addAmt: number
Returns
Array<any>
public cacheFor( keyName: string ) : any
Parameters
Returns
any
public clear( ) : Array<any>
Defined in ember/ember.d.ts:481
Returns
Array<any>
public compact( ) : Array<any>
Defined in ember/ember.d.ts:482
Returns
Array<any>
public contains( obj: any ) : boolean
Defined in ember/ember.d.ts:483
Parameters
Returns
boolean
public decrementProperty( keyName: string , decrement?: number ) : number
Parameters
keyName: string
decrement?: number optional
Returns
number
Destroys an object by setting the isDestroyed flag and removing its metadata, which effectively
destroys observers and bindings. If you try to set a property on a destroyed object, an exception
will be raised. Note that destruction is scheduled for the end of the run loop and does not
happen immediately. It will set an isDestroying flag immediately.
Returns
CoreObject
public static detect( obj: any ) : boolean
Defined in ember/ember.d.ts:460
Parameters
Returns
boolean
public static detectInstance( obj: any ) : boolean
Defined in ember/ember.d.ts:461
Parameters
Returns
boolean
public static eachComputedProperty( callback: Function , binding: {} )
Defined in ember/ember.d.ts:466
Iterate over each computed property for the class, passing its name and any
associated metadata (see metaForProperty) to the callback.
Parameters
callback: Function
binding: {}
public enumerableContentDidChange( start: number , removing: number , adding: number ) : any
Defined in ember/ember.d.ts:484
Parameters
start: number
removing: number
adding: number
Returns
any
public enumerableContentDidChange( start: number , removing: Enumerable , adding: number ) : any
Defined in ember/ember.d.ts:485
Parameters
start: number
adding: number
Returns
any
public enumerableContentDidChange( start: number , removing: number , adding: Enumerable ) : any
Defined in ember/ember.d.ts:486
Parameters
start: number
removing: number
Returns
any
public enumerableContentDidChange( start: number , removing: Enumerable , adding: Enumerable ) : any
Defined in ember/ember.d.ts:487
Parameters
Returns
any
public enumerableContentDidChange( removing: number , adding: number ) : any
Defined in ember/ember.d.ts:488
Parameters
removing: number
adding: number
Returns
any
public enumerableContentDidChange( removing: Enumerable , adding: number ) : any
Defined in ember/ember.d.ts:489
Parameters
Returns
any
public enumerableContentDidChange( removing: number , adding: Enumerable ) : any
Defined in ember/ember.d.ts:490
Parameters
Returns
any
public enumerableContentDidChange( removing: Enumerable , adding: Enumerable ) : any
Defined in ember/ember.d.ts:491
Parameters
Returns
any
public enumerableContentWillChange( removing: number , adding: number ) : Array<any>
Defined in ember/ember.d.ts:492
Parameters
removing: number
adding: number
Returns
Array<any>
public enumerableContentWillChange( removing: Enumerable , adding: number ) : Array<any>
Defined in ember/ember.d.ts:493
Parameters
Returns
Array<any>
public enumerableContentWillChange( removing: number , adding: Enumerable ) : Array<any>
Defined in ember/ember.d.ts:494
Parameters
Returns
Array<any>
public enumerableContentWillChange( removing: Enumerable , adding: Enumerable ) : Array<any>
Defined in ember/ember.d.ts:495
Parameters
Returns
Array<any>
public every( callback: Function , target?: any ) : boolean
Defined in ember/ember.d.ts:496
Parameters
callback: Function
target?: any optional
Returns
boolean
public everyBy( key: string , value?: string ) : boolean
Defined in ember/ember.d.ts:497
Parameters
key: string
value?: string optional
Returns
boolean
public everyProperty( key: string , value?: string ) : boolean
Defined in ember/ember.d.ts:498
Parameters
key: string
value?: string optional
Returns
boolean
public filter( callback: Function , target: any ) : Array<any>
Defined in ember/ember.d.ts:499
Parameters
callback: Function
target: any
Returns
Array<any>
public filterBy( key: string , value?: string ) : Array<any>
Defined in ember/ember.d.ts:500
Parameters
key: string
value?: string optional
Returns
Array<any>
public find( callback: Function , target: any ) : any
Defined in ember/ember.d.ts:501
Parameters
callback: Function
target: any
Returns
any
public findBy( key: string , value?: string ) : any
Defined in ember/ember.d.ts:502
Parameters
key: string
value?: string optional
Returns
any
public forEach( callback: Function , target?: any ) : any
Defined in ember/ember.d.ts:503
Parameters
callback: Function
target?: any optional
Returns
any
public get( keyName: string ) : any
Parameters
Returns
any
public getEach( key: string ) : Array<any>
Defined in ember/ember.d.ts:504
Parameters
Returns
Array<any>
public getProperties( string?: Array<any> ) : {}
Parameters
string?: Array<any> optional
Returns
{}
public getProperties( keys: Array<string> ) : {}
Parameters
Returns
{}
public getWithDefault( keyName: string , defaultValue: any ) : any
Parameters
keyName: string
defaultValue: any
Returns
any
public hasObserverFor( key: string ) : boolean
Parameters
Returns
boolean
public incrementProperty( keyName: string , increment?: number ) : number
Parameters
keyName: string
increment?: number optional
Returns
number
public indexOf( object: any , startAt: number ) : number
Defined in ember/ember.d.ts:505
Parameters
object: any
startAt: number
Returns
number
public insertAt( idx: number , object: any ) : Array<any>
Defined in ember/ember.d.ts:506
Parameters
Returns
Array<any>
public invoke( methodName: string , any?: Array<any> ) : Array<any>
Defined in ember/ember.d.ts:507
Parameters
methodName: string
any?: Array<any> optional
Returns
Array<any>
public lastIndexOf( object: any , startAt: number ) : number
Defined in ember/ember.d.ts:508
Parameters
object: any
startAt: number
Returns
number
public mapBy( key: string ) : Array<any>
Defined in ember/ember.d.ts:510
Parameters
Returns
Array<any>
public static metaForProperty( key: string ) : {}
Defined in ember/ember.d.ts:471
Returns the original hash that was passed to meta().
Parameters
key: string
property name
Returns
{}
public nextObject( index: number , previousObject: any , context: any ) : any
Defined in ember/ember.d.ts:511
Parameters
index: number
previousObject: any
context: any
Returns
any
public objectAt( idx: number ) : any
Defined in ember/ember.d.ts:512
Parameters
Returns
any
public objectAtContent( idx: number ) : any
Defined in ember/ember.d.ts:513
Parameters
Returns
any
public objectsAt( number?: Array<any> ) : Array<any>
Defined in ember/ember.d.ts:514
Parameters
number?: Array<any> optional
Returns
Array<any>
public popObject( ) : any
Defined in ember/ember.d.ts:515
Returns
any
public pushObject( obj: any ) : any
Defined in ember/ember.d.ts:516
Parameters
Returns
any
public pushObjects( any?: Array<any> ) : Array<any>
Defined in ember/ember.d.ts:517
Parameters
any?: Array<any> optional
Returns
Array<any>
public reduce( callback: ReduceCallback , initialValue: any , reducerProperty: string ) : any
Defined in ember/ember.d.ts:518
Parameters
initialValue: any
reducerProperty: string
Returns
any
public rejectBy( key: string , value?: string ) : Array<any>
Defined in ember/ember.d.ts:520
Parameters
key: string
value?: string optional
Returns
Array<any>
Defined in ember/ember.d.ts:521
Parameters
Returns
Array<any>
public removeAt( start: number , len: number ) : any
Defined in ember/ember.d.ts:522
Parameters
start: number
len: number
Returns
any
public removeEnumerableObserver( target: any , opts: EnumerableConfigurationOptions ) : Array<any>
Defined in ember/ember.d.ts:523
Parameters
Returns
Array<any>
public removeObject( object: any ) : any
Defined in ember/ember.d.ts:546
Parameters
Returns
any
public removeObjects( objects: Enumerable ) : Array<any>
Defined in ember/ember.d.ts:547
Parameters
Returns
Array<any>
public removeObserver( key: string , target: any , method: string ) : Observable
Parameters
key: string
target: any
method: string
Returns
Observable
public removeObserver( key: string , target: any , method: Function ) : Observable
Parameters
key: string
target: any
method: Function
Returns
Observable
public replace( idx: number , amt: number , objects: Array<any> ) : any
Defined in ember/ember.d.ts:524
Parameters
idx: number
amt: number
objects: Array<any>
Returns
any
public replaceContent( idx: number , amt: number , objects: Array<any> )
Defined in ember/ember.d.ts:525
Parameters
idx: number
amt: number
objects: Array<any>
public reverseObjects( ) : Array<any>
Defined in ember/ember.d.ts:526
Returns
Array<any>
public set( keyName: string , value: any ) : Observable
Parameters
keyName: string
value: any
Returns
Observable
public setEach( key: string , value?: any ) : any
Defined in ember/ember.d.ts:527
Parameters
key: string
value?: any optional
Returns
any
public setObjects( objects: Array<any> ) : Array<any>
Defined in ember/ember.d.ts:528
Parameters
Returns
Array<any>
public shiftObject( ) : any
Defined in ember/ember.d.ts:529
Returns
any
public slice( beginIndex?: number , endIndex?: number ) : Array<any>
Defined in ember/ember.d.ts:530
Parameters
beginIndex?: number optional
endIndex?: number optional
Returns
Array<any>
public some( callback: Function , target?: any ) : boolean
Defined in ember/ember.d.ts:531
Parameters
callback: Function
target?: any optional
Returns
boolean
public someProperty( key: string , value?: string ) : boolean
Defined in ember/ember.d.ts:480
Parameters
key: string
value?: string optional
Returns
boolean
public toArray( ) : Array<any>
Defined in ember/ember.d.ts:532
Returns
Array<any>
public toString( ) : string
Returns a string representation which attempts to provide more information than Javascript's toString
typically does, in a generic way for all Ember objects (e.g., "").
Returns
string
public toggleProperty( keyName: string ) : any
Parameters
Returns
any
public uniq( ) : Array<any>
Defined in ember/ember.d.ts:533
Returns
Array<any>
public unshiftObject( object: any ) : any
Defined in ember/ember.d.ts:534
Parameters
Returns
any
public unshiftObjects( objects: Array<any> ) : Array<any>
Defined in ember/ember.d.ts:535
Parameters
Returns
Array<any>
public without( value: any ) : Array<any>
Defined in ember/ember.d.ts:536
Parameters
Returns
Array<any>