Observable#cacheFor()

cacheFor (keyName) Objectpublic Defined in packages/ember-runtime/lib/mixins/observable.js:490 Returns the cached value of a computed property, if it exists. This allows you to inspect the value of a computed property without accidentally invoking it if it is intended to be generated lazily. Parameters: keyName String Returns: Object The cached value of the computed property, if any

Observable#beginPropertyChanges()

beginPropertyChangesEmber.Observableprivate Defined in packages/ember-runtime/lib/mixins/observable.js:231 Begins a grouping of property changes. You can use this method to group property changes so that notifications will not be sent until the changes are finished. If you plan to make a large number of changes to an object at one time, you should call this method at the beginning of the changes to begin deferring change notifications. When you are done making changes, call endPropertyChang

Observable#addObserver()

addObserver (key, target, method) public Defined in packages/ember-runtime/lib/mixins/observable.js:333 Adds an observer on a property. This is the core method used to register an observer for a property. Once you call this method, any time the key's value is set, your observer will be notified. Note that the observers are triggered any time the value is set, regardless of whether it has actually changed. Your observer should be prepared to handle that. You can also pass an optional context

Observable

Ember.Observable Class PUBLIC Defined in: packages/ember-runtime/lib/mixins/observable.js:30 Module: ember-runtime Overview This mixin provides properties and property observing functionality, core features of the Ember object model. Properties and observers allow one object to observe changes to a property on another object. This is one of the fundamental ways that models, controllers and views communicate with each other in an Ember application. Any object that has this mixin applied can

Objects in Ember

Objects in Ember You'll notice standard JavaScript class patterns and the new ES2015 classes aren't widely used in Ember. Plain objects can still be found, and sometimes they're referred to as "hashes". JavaScript objects don't support the observation of property value changes. Consequently, if an object is going to participate in Ember's binding system you may see an Ember.Object instead of a plain object. Ember.Object also provides a class system, supporting features like mixins and constru

ObjectProxy

Ember.ObjectProxy Class PUBLIC Extends: Ember._ProxyMixin Defined in: packages/ember-runtime/lib/system/object_proxy.js:4 Module: ember Ember.ObjectProxy forwards all properties not defined by the proxy itself to a proxied content object. object = Ember.Object.create({ name: 'Foo' }); proxy = Ember.ObjectProxy.create({ content: object }); // Access and change existing properties proxy.get('name') // 'Foo' proxy.set('name', 'Bar'); object.get('name') // 'Bar' // Crea

Object Inspector

Object Inspector The Inspector includes a panel that allows you to view and interact with your Ember objects. To open it, click on any Ember object. You can then view the object's properties. Viewing Objects Here's what you see when you click on an object: The Inspector displays the parent objects and mixins that are composed into the chosen object, including the inherited properties. Each property value in this view is bound to your application, so if the value of a property updates in your

Object

Ember.Object Class PUBLIC Extends: Ember.CoreObject Uses: Ember.Observable Defined in: packages/ember-runtime/lib/system/object.js:9 Module: ember-runtime Ember.Object is the main base class for all Ember objects. It is a subclass of Ember.CoreObject with the Ember.Observable mixin applied. For details, see the documentation for each of these.

NoneLocation#setURL()

setURL (path) private Defined in packages/ember-routing/lib/location/none_location.js:60 Set the path and remembers what was set. Using this method to change the path will not invoke the updateURL callback. Parameters: path String

NoneLocation#rootURL

rootURLprivate Defined in packages/ember-routing/lib/location/none_location.js:33 Will be pre-pended to path. Default: '/'