Registry#makeToString()

makeToString (factory, fullName) Functionprivate Defined in packages/container/lib/registry.js:317 Parameters: factory Any fullName String Returns: Function toString function

Binding#to()

to (path) Ember.Bindingpublic Defined in packages/ember-metal/lib/binding.js:87 This will set the to property path to the specified value. It will not attempt to resolve this property path to an actual object until you connect the binding. The binding will search for the property path starting at the root object you pass when you connect() the binding. It follows the same rules as get() - see that method for more information. Parameters: path String|Tuple A property path or tuple. R

Router#map()

map (callback) public Defined in packages/ember-routing/lib/system/router.js:1145 The Router.map function allows you to define mappings from URLs to routes in your application. These mappings are defined within the supplied callback function using this.route. The first parameter is the name of the route which is used by default as the path name as well. The second parameter is the optional options hash. Available options are: path: allows you to provide your own path as well as mark dynami

Route#send()

send (name, args) public Inherited from Ember.ActionHandler but overwritten in packages/ember-routing/lib/system/route.js:1129 Sends an action to the router, which will delegate it to the currently active route hierarchy per the bubbling rules explained under actions. Example App.Router.map(function() { this.route('index'); }); App.ApplicationRoute = Ember.Route.extend({ actions: { track: function(arg) { console.log(arg, 'was clicked'); } } }); App.IndexRoute = Ember.R

DS.JSONSerializer#shouldSerializeHasMany()

shouldSerializeHasMany (snapshot, key, relationshipType) Boolean Defined in addon/serializers/json.js:857 Check if the given hasMany relationship should be serialized Parameters: snapshot DS.Snapshot key String relationshipType String Returns: Boolean true if the hasMany relationship should be serialized

DS.ServerError#errorsArrayToHash()

errorsArrayToHashprivate Defined in addon/adapters/errors.js:199

Enumerable#toArray()

toArrayArraypublic Defined in packages/ember-runtime/lib/mixins/enumerable.js:758 Simply converts the enumerable into a genuine array. The order is not guaranteed. Corresponds to the method implemented by Prototype. Returns: Array the enumerable as an array.

Development Helpers

Development Helpers Development Helpers Handlebars and Ember come with a few helpers that can make developing your templates a bit easier. These helpers make it simple to output variables into your browser's console, or activate the debugger from your templates. Logging The {{log}} helper makes it easy to output variables or expressions in the current rendering context into your browser's console: {{log 'Name is:' name}} The {{log}} helper also accepts primitive types such as strings or numb

DataAdapter#watchModelTypes()

watchModelTypes (typesAdded, typesUpdated) Functionpublic Defined in packages/ember-extension-support/lib/data_adapter.js:129 Fetch the model types and observe them for changes. Parameters: typesAdded Function Callback to call to add types. Takes an array of objects containing wrapped types (returned from `wrapModelType`). typesUpdated Function Callback to call when a type has changed. Takes an array of objects containing wrapped types. Returns: Function Method to call to rem

ViewTargetActionSupport#willInsertElement event

willInsertElementpublic Defined in packages/ember-views/lib/mixins/view_support.js:297 Called when a view is going to insert an element into the DOM.