Defining a Component

Defining a Component To define a component, run: ember generate component my-component-name Components must have at least one dash in their name. So blog-post is an acceptable name, and so is audio-player-controls, but post is not. This prevents clashes with current or future HTML element names, aligns Ember components with the W3C Custom Elements spec, and ensures Ember detects the components automatically. A sample component template could look like this: app/templates/components/blog-post

ViewTargetActionSupport#target

targetprivate Defined in packages/ember-views/lib/mixins/view_target_action_support.js:48

ember-debug

ember-debug Module Parent: ember

Router#isActiveIntent()

isActiveIntent (routeName, models, queryParams) Booleanprivate Defined in packages/ember-routing/lib/system/router.js:412 Available since 1.7.0 An alternative form of isActive that doesn't require manual concatenation of the arguments into a single array. Parameters: routeName models queryParams Returns: Boolean

ControllerMixin

Ember.ControllerMixin Class PRIVATE Uses: Ember.ActionHandler Defined in: packages/ember-runtime/lib/mixins/controller.js:6 Module: ember-routing

Registry#knownForType()

knownForType (type) private Defined in packages/container/lib/registry.js:663 Parameters: type String the type to iterate over

ContainerProxyMixin#ownerInjection()

ownerInjectionObjectpublic Defined in packages/ember-runtime/lib/mixins/container_proxy.js:26 Returns an object that can be used to provide an owner to a manually created instance. Example: let owner = Ember.getOwner(this); User.create( owner.ownerInjection(), { username: 'rwjblue' } ) Returns: Object

Registry#_factoryInjections

_factoryInjectionsInheritingDictprivate Defined in packages/container/lib/registry.js:99

DS.EmbeddedRecordsMixin#_extractEmbeddedBelongsTo()

_extractEmbeddedBelongsToprivate Defined in addon/serializers/embedded-records-mixin.js:577

Handlebars Basics

Handlebars Basics Ember uses the Handlebars templating library to power your app's user interface. Handlebars templates contain static HTML and dynamic content inside Handlebars expressions, which are invoked with double curly braces: {{}}. Dynamic content inside a Handlebars expression is rendered with data-binding. This means if you update a property, your usage of that property in a template will be automatically updated to the latest value. Displaying Properties Templates are backed with