OrderedSet#delete()

delete (obj, _guid) Booleanprivate Defined in packages/ember-metal/lib/map.js:119 Available since 1.8.0 Parameters: obj _guid (optional and for internal use only) Returns: Boolean

OrderedSet#copy()

copyEmber.OrderedSetprivate Defined in packages/ember-metal/lib/map.js:204 Returns: Ember.OrderedSet

OrderedSet#clear()

clearprivate Defined in packages/ember-metal/lib/map.js:89

OrderedSet#add()

add (obj, guid) Ember.OrderedSetprivate Defined in packages/ember-metal/lib/map.js:99 Parameters: obj guid (optional, and for internal use) Returns: Ember.OrderedSet

OrderedSet

Ember.OrderedSet Class PRIVATE Defined in: packages/ember-metal/lib/map.js:56 Module: ember-metal This class is used internally by Ember and Ember Data. Please do not use it at this time. We plan to clean it up and add many tests soon.

Observers

Observers Ember supports observing any property, including computed properties. Observers should contain behavior that reacts to changes in another property. Observers are especially useful when you need to perform some behavior after a binding has finished synchronizing. Observers are often over-used by new Ember developers. Observers are used heavily within the Ember framework itself, but for most problems Ember app developers face, computed properties are the appropriate solution. You can

Observable#toggleProperty()

toggleProperty (keyName) Booleanpublic Defined in packages/ember-runtime/lib/mixins/observable.js:473 Set the value of a boolean property to the opposite of its current value. starship.toggleProperty('warpDriveEngaged'); Parameters: keyName String The name of the property to toggle Returns: Boolean The new property value

Observable#setProperties()

setProperties (hash) Objectpublic Defined in packages/ember-runtime/lib/mixins/observable.js:213 Sets a list of properties at once. These properties are set inside a single beginPropertyChanges and endPropertyChanges batch, so observers will be buffered. record.setProperties({ firstName: 'Charles', lastName: 'Jolley' }); Parameters: hash Object the hash of keys and values to set Returns: Object The passed in hash

Observable#set()

set (keyName, value) Objectpublic Defined in packages/ember-runtime/lib/mixins/observable.js:168 Sets the provided key or path to the value. This method is generally very similar to calling object[key] = value or object.key = value, except that it provides support for computed properties, the setUnknownProperty() method and property observers. Computed Properties If you try to set a value on a key that has a computed property handler defined (see the get() method for an example), then set()

Observable#removeObserver()

removeObserver (key, target, method) public Defined in packages/ember-runtime/lib/mixins/observable.js:385 Remove an observer you have previously registered on this object. Pass the same key, target, and method you passed to addObserver() and your target will no longer receive notifications. Parameters: key String The key to observer target Object The target object to invoke method String|Function The method to invoke.