An abstract class that exists to give view-like behavior to both Ember's main view class Ember.View
and other classes like Ember._SimpleMetamorphView that don't need the fully functionaltiy of Ember.View.
Unless you have specific needs for CoreView, you will use Ember.View in your applications.
Properties
public ariaRole: string
Defined in ember/ember.d.ts:1947
public attributeBindings: any
Defined in ember/ember.d.ts:1948
public classNameBindings: Array<string>
Defined in ember/ember.d.ts:1949
public classNames: Array<string>
Defined in ember/ember.d.ts:1950
public concatenatedProperties: Array<any>
Defines the properties that will be concatenated from the superclass (instead of overridden).
public context: any
Defined in ember/ember.d.ts:1951
public controller: any
Defined in ember/ember.d.ts:1952
public didInsertElement: Function
Defined in ember/ember.d.ts:1966
public element: HTMLElement
Defined in ember/ember.d.ts:1953
public static isClass: boolean
Defined in ember/ember.d.ts:1921
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:1922
public isView: boolean
Defined in ember/ember.d.ts:1954
public isVisible: boolean
Defined in ember/ember.d.ts:1955
public layout: Function
Defined in ember/ember.d.ts:1956
public layoutName: string
Defined in ember/ember.d.ts:1957
public nearestChildOf: View
Defined in ember/ember.d.ts:1958
public nearestOfType: View
Defined in ember/ember.d.ts:1959
public nearestWithProperty: View
Defined in ember/ember.d.ts:1960
public parentViewDidChange: Function
Defined in ember/ember.d.ts:1967
public tagName: string
Defined in ember/ember.d.ts:1961
public template: Function
Defined in ember/ember.d.ts:1962
public templateName: string
Defined in ember/ember.d.ts:1963
public templates: {}
Defined in ember/ember.d.ts:1964
public views: {}
Defined in ember/ember.d.ts:1965
public willClearRender: Function
Defined in ember/ember.d.ts:1968
public willDestroyElement: Function
Defined in ember/ember.d.ts:1969
public willInsertElement: Function
Defined in ember/ember.d.ts:1970
Methods
Defined in ember/ember.d.ts:1923
Returns
JQuery
public append( ) : View
Defined in ember/ember.d.ts:1924
Returns
View
public appendTo( A: string ) : View
Defined in ember/ember.d.ts:1926
Parameters
Returns
View
public appendTo( A: HTMLElement ) : View
Defined in ember/ember.d.ts:1927
Parameters
Returns
View
public appendTo( A: JQuery ) : View
Defined in ember/ember.d.ts:1928
Parameters
Returns
View
public cacheFor( keyName: string ) : any
Parameters
Returns
any
public createChildView( viewClass: {} , attrs?: {} ) : View
Defined in ember/ember.d.ts:1930
Parameters
viewClass: {}
attrs?: {} optional
Returns
View
public createChildView( viewClass: string , attrs?: {} ) : View
Defined in ember/ember.d.ts:1931
Parameters
viewClass: string
attrs?: {} optional
Returns
View
public createElement( ) : View
Defined in ember/ember.d.ts:1932
Returns
View
public decrementProperty( keyName: string , decrement?: number ) : number
Parameters
keyName: string
decrement?: number optional
Returns
number
public destroyElement( ) : View
Defined in ember/ember.d.ts:1934
Returns
View
public static detect( obj: any ) : boolean
Defined in ember/ember.d.ts:1909
Parameters
Returns
boolean
public static detectInstance( obj: any ) : boolean
Defined in ember/ember.d.ts:1910
Parameters
Returns
boolean
public static eachComputedProperty( callback: Function , binding: {} )
Defined in ember/ember.d.ts:1915
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 findElementInParentElement( parentElement: HTMLElement ) : HTMLElement
Defined in ember/ember.d.ts:1935
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 static metaForProperty( key: string ) : {}
Defined in ember/ember.d.ts:1920
Returns the original hash that was passed to meta().
Parameters
key: string
property name
Returns
{}
public remove( ) : View
Defined in ember/ember.d.ts:1936
Returns
View
public removeAllChildren( ) : View
Defined in ember/ember.d.ts:1937
Returns
View
public removeChild( view: View ) : View
Defined in ember/ember.d.ts:1938
Parameters
Returns
View
public removeFromParent( ) : View
Defined in ember/ember.d.ts:1939
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
Defined in ember/ember.d.ts:1940
Parameters
public replaceIn( A: string ) : View
Defined in ember/ember.d.ts:1942
Parameters
Returns
View
public replaceIn( A: HTMLElement ) : View
Defined in ember/ember.d.ts:1943
Parameters
Returns
View
public replaceIn( A: JQuery ) : View
Defined in ember/ember.d.ts:1944
Parameters
Returns
View
public rerender( )
Defined in ember/ember.d.ts:1946
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