Ember.computed.min()

min (dependentKey) Ember.ComputedPropertypublic Defined in packages/ember-runtime/lib/computed/reduce_computed_macros.js:123 A computed property that calculates the minimum value in the dependent array. This will return Infinity when the dependent array is empty. let Person = Ember.Object.extend({ childAges: Ember.computed.mapBy('children', 'age'), minChildAge: Ember.computed.min('childAges') }); let lordByron = Person.create({ children: [] }); lordByron.get('minChildAge'); // Infinit

Ember.trySet()

trySet (root, path, value) public Defined in packages/ember-metal/lib/property_set.js:130 Error-tolerant form of Ember.set. Will not blow up if any part of the chain is undefined, null, or destroyed. This is primarily used when syncing bindings, which may try to update after an object has been destroyed. Parameters: root Object The object to modify. path String The property path to set value Object The value to set

HashLocation#formatURL()

formatURL (url) private Defined in packages/ember-routing/lib/location/hash_location.js:123 Given a URL, formats it to be placed into the page as part of an element's href attribute. This is used, for example, when using the {{action}} helper to generate a URL based on an event. Parameters: url String

DS.Snapshot#id

id{String} Defined in addon/-private/system/snapshot.js:48 The id of the snapshot's underlying record Example // store.push('post', { id: 1, author: 'Tomster', title: 'Ember.js rocks' }); postSnapshot.id; // => '1'

Inflector#irregular()

irregular (singular, plural) Defined in node_modules/ember-inflector/addon/lib/system/inflector.js:201 Parameters: singular String plural String

Ember.BOOTED

BOOTEDBooleanprivate Defined in packages/ember-runtime/lib/index.js:228 Whether searching on the global for new Namespace instances is enabled. This is only exported here as to not break any addons. Given the new visit API, you will have issues if you treat this as a indicator of booted. Internally this is only exposing a flag in Namespace.

DefaultResolver#resolveModel()

resolveModel (parsedName) protected Defined in packages/ember-application/lib/system/resolver.js:353 Lookup the model on the Application namespace Parameters: parsedName Object a parseName object with the parsed fullName lookup string

Route#render()

render (name, options) public Defined in packages/ember-routing/lib/system/route.js:1820 render is used to render a template into a region of another template (indicated by an {{outlet}}). render is used both during the entry phase of routing (via the renderTemplate hook) and later in response to user interaction. For example, given the following minimal router and templates: Router.map(function() { this.route('photos'); }); <!-- application.hbs --> <div class='something-in-the-

DS.Transform

DS.Transform Class Defined in: addon/transform.js:3 Module: ember-data The DS.Transform class is used to serialize and deserialize model attributes when they are saved or loaded from an adapter. Subclassing DS.Transform is useful for creating custom attributes. All subclasses of DS.Transform must implement a serialize and a deserialize method. Example app/transforms/temperature.js import DS from 'ember-data'; // Converts centigrade in the JSON to fahrenheit in the app export default DS.Tr

AutoLocation#location

locationprivate Defined in packages/ember-routing/lib/location/auto_location.js:41 Default: environment.location