Container#registry

registryRegistryprivate Defined in packages/container/lib/container.js:42 Available since 1.11.0

ViewTargetActionSupport#willClearRender event

willClearRenderpublic Defined in packages/ember-views/lib/mixins/view_support.js:318 Called when the view is about to rerender, but before anything has been torn down. This is a good opportunity to tear down any manual observers you have installed based on the DOM state

VisibilitySupport

Ember.VisibilitySupport Class PUBLIC Defined in: packages/ember-views/lib/mixins/visibility_support.js:14 Module: ember-views

The Component Lifecycle

The Component Lifecycle Part of what makes components so useful is that they let you take complete control of a section of the DOM. This allows for direct DOM manipulation, listening and responding to browser events, and using 3rd party JavaScript libraries in your Ember app. As components are rendered, re-rendered and finally removed, Ember provides lifecycle hooks that allow you to run code at specific times in a component's life. To get the most use out of a component, it is important to u

Adding Nested Routes

Adding Nested Routes Up to this point, we've generated four top level routes. An about route, that gives information on our application. A contact route, with information on how to contact the company. A rentals route, where we will allow users to browse rental properties. The index route, which we've set up to redirect to the rentals route. Our rentals route is going to serve multiple functions. From our acceptance tests, we've shown that we want our users to be able to browse and search r

Debug

Ember.Debug Class PUBLIC Defined in: packages/ember-debug/lib/index.js:218 Module: ember-debug

Test#triggerEvent()

triggerEvent (selector, context, type, options) RSVP.Promisepublic Defined in packages/ember-testing/lib/helpers/trigger_event.js:6 Available since 1.5.0 Triggers the given DOM event on the element identified by the provided selector. Example: javascript triggerEvent('#some-elem-id', 'blur'); This is actually used internally by the keyEvent helper like so: javascript triggerEvent('#some-elem-id', 'keypress', { keyCode: 13 }); Parameters: selector String jQuery selector for finding el

ViewTargetActionSupport#destroy()

destroyprivate Defined in packages/ember-views/lib/mixins/view_support.js:328 You must call destroy on a view to destroy the view (and all of its child views). This will remove the view from any parent node, then make sure that the DOM element managed by the view can be released by the memory manager.

Test#click()

click (selector, context) RSVP.Promisepublic Defined in packages/ember-testing/lib/helpers.js:44 Clicks an element and triggers any actions triggered by the element's click event. Example: click('.some-jQuery-selector').then(function() { // assert something }); Parameters: selector String jQuery selector for finding element on the DOM context Object A DOM Element, Document, or jQuery to use as context Returns: RSVP.Promise

Binding#toString()

toStringStringpublic Defined in packages/ember-metal/lib/binding.js:121 Returns: String string representation of binding