DS.JSONAPIAdapter

DS.JSONAPIAdapter Class Extends: DS.RESTAdapter Defined in: addon/adapters/json-api.js:11 Module: ember-data

ComputedProperty#volatile()

volatileEmber.ComputedPropertypublic Defined in packages/ember-metal/lib/computed.js:165 Call on a computed property to set it into non-cached mode. When in this mode the computed property will not automatically cache the return value. It also does not automatically fire any change events. You must manually notify any changes if you want to observe this property. Dependency keys have no effect on volatile properties as they are for cache invalidation and notification when cached value is in

DS.FilteredRecordArray#filterFunction()

filterFunction (record) Boolean Defined in addon/-private/system/record-arrays/filtered-record-array.js:21 The filterFunction is a function used to test records from the store to determine if they should be part of the record array. Example var allPeople = store.peekAll('person'); allPeople.mapBy('name'); // ["Tom Dale", "Yehuda Katz", "Trek Glowacki"] var people = store.filter('person', function(person) { if (person.get('name').match(/Katz$/)) { return true; } }); people.mapBy('name');

Templates.helpers.outlet()

outlet (name) public Defined in packages/ember-htmlbars/lib/keywords/outlet.js:17 The {{outlet}} helper lets you specify where a child route will render in your template. An important use of the {{outlet}} helper is in your application's application.hbs file: {{! app/templates/application.hbs }} <!-- header content goes here, and will always display --> {{my-header}} <div class="my-dynamic-content"> <!-- this content will change based on the current route, which depends o

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

Route#paramsFor()

paramsFor (name) public Defined in packages/ember-routing/lib/system/route.js:347 Retrieves parameters, for current route using the state.params variable and getQueryParamsFor, using the supplied routeName. Parameters: name String

DS.Snapshot#eachRelationship()

eachRelationship (callback, binding) Defined in addon/-private/system/snapshot.js:330 Iterates through all the relationships of the model, calling the passed function on each relationship. Example snapshot.eachRelationship(function(name, relationship) { // ... }); Parameters: callback Function the callback to execute binding [Object] the value to which the callback's `this` should be bound

DS.BooleanTransform

DS.BooleanTransform Class Extends: DS.Transform Defined in: addon/-private/transforms/boolean.js:7 Module: ember-data The DS.BooleanTransform class is used to serialize and deserialize boolean attributes on Ember Data record objects. This transform is used when boolean is passed as the type parameter to the DS.attr function. Usage app/models/user.js import DS from 'ember-data'; export default DS.Model.extend({ isAdmin: DS.attr('boolean'), name: DS.attr('string'), email: DS.attr('str

Ember.removeListener()

removeListener (obj, eventName, target, method) public Defined in packages/ember-metal/lib/events.js:112 Remove an event listener Arguments should match those passed to Ember.addListener. Parameters: obj eventName String target Object|Function A target object or a function method Function|String A function or the name of a function to be called on `target`

Application#waitForDOMReady()

waitForDOMReadyprivate Defined in packages/ember-application/lib/system/application.js:424 Automatically kick-off the boot process for the application once the DOM has become ready. The initialization itself is scheduled on the actions queue which ensures that code-loading finishes before booting. If you are asynchronously loading code, you should call deferReadiness() to defer booting, and then call advanceReadiness() once all of your code has finished loading.