Methods
public cacheFor( keyName: string ) : any
Parameters
Returns
any
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:1779
Parameters
Returns
boolean
public static detectInstance( obj: any ) : boolean
Defined in ember/ember.d.ts:1780
Parameters
Returns
boolean
public static eachComputedProperty( callback: Function , binding: {} )
Defined in ember/ember.d.ts:1785
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 enterState( transition: TransitionsHash )
Defined in ember/ember.d.ts:1794
Parameters
public get( keyName: string ) : any
Parameters
Returns
any
public getPathsCache( stateManager: {} , path: string ) : {}
Parameters
stateManager: {}
path: string
Returns
{}
public getProperties( string?: Array<any> ) : {}
Parameters
string?: Array<any> optional
Returns
{}
public getProperties( keys: Array<string> ) : {}
Parameters
Returns
{}
public getState( name: string ) : State
Defined in ember/ember.d.ts:1795
Parameters
Returns
State
public getStateByPath( root: State , path: string ) : State
Defined in ember/ember.d.ts:1796
Parameters
Returns
State
public getStateMeta( state: State , key: string ) : any
Defined in ember/ember.d.ts:1797
Parameters
Returns
any
public getStatesInPath( root: State , path: string ) : State []
Defined in ember/ember.d.ts:1798
Parameters
Returns
State []
public getWithDefault( keyName: string , defaultValue: any ) : any
Parameters
keyName: string
defaultValue: any
Returns
any
public goToState( path: string , context: any )
Defined in ember/ember.d.ts:1799
Parameters
path: string
context: any
public has( name: string ) : boolean
Inherited from
State .has
Defined in ember/ember.d.ts:1760
Parameters
Returns
boolean
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:1790
Returns the original hash that was passed to meta().
Parameters
key: string
property name
Returns
{}
public off( name: string , target: any , method: Function ) : State
Inherited from
State .off
Defined in ember/ember.d.ts:1761
Parameters
name: string
target: any
method: Function
Returns
State
public on( name: string , target: any , method: Function ) : State
Inherited from
State .on
Defined in ember/ember.d.ts:1762
Parameters
name: string
target: any
method: Function
Returns
State
public one( name: string , target: any , method: Function ) : State
Inherited from
State .one
Defined in ember/ember.d.ts:1763
Parameters
name: string
target: any
method: Function
Returns
State
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 send( event: string )
Defined in ember/ember.d.ts:1800
Parameters
public set( keyName: string , value: any ) : Observable
Parameters
keyName: string
value: any
Returns
Observable
public setPathsCache( stateManager: {} , path: string , transitions: any )
Parameters
stateManager: {}
path: string
transitions: any
public setStateMeta( state: State , key: string , value: any ) : any
Defined in ember/ember.d.ts:1801
Parameters
Returns
any
public stateMetaFor( state: State ) : {}
Defined in ember/ember.d.ts:1802
Parameters
Returns
{}
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 transitionTo( path: string , context: any )
Defined in ember/ember.d.ts:1803
Parameters
path: string
context: any
public trigger( name: string , string?: Array<any> )
Parameters
name: string
string?: Array<any> optional
public triggerSetupContext( transitions: TransitionsHash )
Defined in ember/ember.d.ts:1804
Parameters
public unhandledEvent( manager: StateManager , event: string ) : any
Defined in ember/ember.d.ts:1805
Parameters
Returns
any