An Ember.View descendent responsible for managing a collection (an array or array-like object)
by maintaining a child view object and associated DOM representation for each item in the array
and ensuring that child views and their associated rendered HTML are updated when items in the
array are added, removed, or replaced.
Properties
public static CONTAINER_MAP: {}
Defined in ember/ember.d.ts:614
public attributeBindings: any
public classNameBindings: Array<string>
public classNames: Array<string>
public concatenatedProperties: Array<any>
Defines the properties that will be concatenated from the superclass (instead of overridden).
public content: Array<any>
Defined in ember/ember.d.ts:615
public didInsertElement: Function
public element: HTMLElement
public emptyView: View
Defined in ember/ember.d.ts:616
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 isVisible: boolean
public itemViewClass: View
Defined in ember/ember.d.ts:617
public layoutName: string
public nearestChildOf: View
public nearestOfType: View
public nearestWithProperty: View
public parentViewDidChange: Function
public template: Function
public templateName: string
public willClearRender: Function
public willDestroyElement: Function
public willInsertElement: Function
Methods
Inherited from
View .$
Defined in ember/ember.d.ts:1923
Returns
JQuery
public appendTo( A: string ) : View
Parameters
Returns
View
public appendTo( A: HTMLElement ) : View
Parameters
Returns
View
public appendTo( A: JQuery ) : View
Parameters
Returns
View
public arrayDidChange( content: Array<any> , start: number , removed: number , added: number )
Defined in ember/ember.d.ts:609
Parameters
content: Array<any>
start: number
removed: number
added: number
public arrayWillChange( content: Array<any> , start: number , removed: number )
Defined in ember/ember.d.ts:610
Parameters
content: Array<any>
start: number
removed: number
public cacheFor( keyName: string ) : any
Parameters
Returns
any
public createElement( ) : View
Returns
View
public decrementProperty( keyName: string , decrement?: number ) : number
Parameters
keyName: string
decrement?: number optional
Returns
number
public destroyElement( ) : View
Returns
View
public findElementInParentElement( parentElement: HTMLElement ) : HTMLElement
Parameters
parentElement: HTMLElement
Returns
HTMLElement
public get( keyName: string ) : any
Parameters
Returns
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 removeAllChildren( ) : View
Returns
View
public removeChild( view: View ) : View
Parameters
Returns
View
public removeFromParent( ) : View
Returns
View
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 replaceIn( A: string ) : View
Parameters
Returns
View
public replaceIn( A: HTMLElement ) : View
Parameters
Returns
View
public replaceIn( A: JQuery ) : View
Parameters
Returns
View
public set( keyName: string , value: any ) : Observable
Parameters
keyName: string
value: any
Returns
Observable
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