ActionHandler#actions

actionsObjectpublic Defined in packages/ember-runtime/lib/mixins/action_handler.js:24 The collection of functions, keyed by name, available on this ActionHandler as action targets. These functions will be invoked when a matching {{action}} is triggered from within a template and the application's current route is this route. Actions can also be invoked from other parts of your application via ActionHandler#send. The actions hash will inherit action handlers from the actions hash defined on

HistoryLocation#willDestroy()

willDestroyprivate Inherited from Ember.CoreObject but overwritten in packages/ember-routing/lib/location/history_location.js:221 Cleans up the HistoryLocation event listener.

Function#property()

propertypublic Defined in packages/ember-runtime/lib/ext/function.js:15 The property extension of Javascript's Function prototype is available when EmberENV.EXTEND_PROTOTYPES or EmberENV.EXTEND_PROTOTYPES.Function is true, which is the default. Computed properties allow you to treat a function like a property: MyApp.President = Ember.Object.extend({ firstName: '', lastName: '', fullName: function() { return this.get('firstName') + ' ' + this.get('lastName'); }.property() // Ca

ContainerProxyMixin#lookup()

lookup (fullName, options) Anypublic Defined in packages/ember-runtime/lib/mixins/container_proxy.js:49 Given a fullName return a corresponding instance. The default behaviour is for lookup to return a singleton instance. The singleton is scoped to the container, allowing multiple containers to all have their own locally scoped singletons. let registry = new Registry(); let container = registry.container(); registry.register('api:twitter', Twitter); let twitter = container.lookup('api:twi

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

Transition#then()

then (onFulfilled, onRejected, label) Promisepublic Defined in bower_components/router.js/lib/router/transition.js:135 A standard promise hook that resolves if the transition succeeds and rejects if it fails/redirects/aborts. Forwards to the internal promise property which you can use in situations where you want to pass around a thennable, but not the Transition itself. Parameters: onFulfilled Function onRejected Function label String optional string for labeling the promise. Us

Transition#retry()

retryTransitionpublic Defined in bower_components/router.js/lib/router/transition.js:207 Retries a previously-aborted transition (making sure to abort the transition if it's still active). Returns a new transition that represents the new attempt to transition. Returns: Transition new transition

Transition

Transition Class PRIVATE Defined in: bower_components/router.js/lib/router/transition.js:4 Module: ember A Transition is a thennable (a promise-like object) that represents an attempt to transition to another route. It can be aborted, either explicitly via abort or by attempting another transition while a previous one is still underway. An aborted transition can also be retry()d later.

Transition#trigger()

trigger (ignoreFailure, name) public Defined in bower_components/router.js/lib/router/transition.js:248 Fires an event on the current list of resolved/resolving handlers within this transition. Useful for firing events on route hierarchies that haven't fully been entered yet. Note: This method is also aliased as send Parameters: ignoreFailure [Boolean] a boolean specifying whether unhandled events throw an error name String the name of the event to fire

ViewTargetActionSupport#handleEvent()

handleEvent (eventName, evt) private Defined in packages/ember-views/lib/mixins/view_support.js:495 Handle events from Ember.EventDispatcher Parameters: eventName String evt Event