EventDispatcher#setup()

setup (addedEvents) private Defined in packages/ember-views/lib/system/event_dispatcher.js:145 Sets up event listeners for standard browser events. This will be called after the browser sends a DOMContentReady event. By default, it will set up all of the listeners on the document body. If you would like to register the listeners on a different element, set the event dispatcher's root property. Parameters: addedEvents Object

RSVP.EventTarget#on()

on (eventName, callback) private Defined in bower_components/rsvp/lib/rsvp/events.js:74 Registers a callback to be executed when eventName is triggered object.on('event', function(eventInfo){ // handle the event }); object.trigger('event'); Parameters: eventName String name of the event to listen for callback Function function to be called when the event is triggered.

Container#validationCache

validationCacheInheritingDictprivate Defined in packages/container/lib/container.js:64

HashLocation#getURL()

getURLprivate Defined in packages/ember-routing/lib/location/hash_location.js:42 Returns the normalized URL, constructed from location.hash. e.g. #/foo => /foo as well as #/foo#bar => /foo#bar. By convention, hashed paths must begin with a forward slash, otherwise they are not treated as a path so we can distinguish intent.

CoreObject#_onLookup()

_onLookupprivate Defined in packages/ember-runtime/lib/system/core_object.js:881 Provides lookup-time type validation for injected properties.

Binding#copy()

copyEmber.Bindingpublic Defined in packages/ember-metal/lib/binding.js:51 This copies the Binding so it can be connected to another object. Returns: Ember.Binding `this`

DS.JSONAPIAdapter#pathForType()

pathForType (modelName) String Inherited from DS.BuildURLMixin but overwritten in addon/adapters/json-api.js:129 Parameters: modelName String Returns: String path

ApplicationInstance.BootOptions#rootElement

rootElementString|Elementpublic Defined in packages/ember-application/lib/system/application-instance.js:426 If present, overrides the application's rootElement property on the instance. This is useful for testing environment, where you might want to append the root view to a fixture area. In non-browser mode, because Ember does not have access to jQuery, this options must be specified as a DOM Element object instead of a selector string. See the documentation on Ember.Applications's rootEl

Route#templateName

templateNameStringpublic Defined in packages/ember-routing/lib/system/route.js:504 Available since 1.4.0 The name of the template to use by default when rendering this routes template. let PostsList = Ember.Route.extend({ templateName: 'posts/list' }); App.PostsIndexRoute = PostsList.extend(); App.PostsArchivedRoute = PostsList.extend(); Default: null

Building a Simple Component

Building a Simple Component As a user looks through our list of rentals, they may want to have some interactive options to help them make a decision. Let's add the ability to toggle the size of the image for each rental. To do this, we'll use a component. Let's generate a rental-listing component that will manage the behavior for each of our rentals. A dash is required in every component name to avoid conflicting with a possible HTML element, so rental-listing is acceptable but rental isn't.