Component#init()

initprivate Inherited from Ember.CoreObject but overwritten in packages/ember-views/lib/mixins/view_support.js:388 Setup a view, but do not finish waking it up. configure childViews register the view with the global views hash, which is used for event dispatch

Component#hasBlockParams

hasBlockParamspublic Defined in packages/ember-htmlbars/lib/component.js:258 Available since 1.13.0 Returns true when the component was invoked with a block parameter supplied. Example (hasBlockParams will be false): {{! templates/application.hbs }} {{#foo-bar}} No block parameter. {{/foo-bar}} {{! templates/components/foo-bar.hbs }} {{#if hasBlockParams}} This will not be printed, because no block was provided {{yield this}} {{/if}} Example (hasBlockParams will be true): {{! templ

Component#hasBlock

hasBlockpublic Defined in packages/ember-htmlbars/lib/component.js:198 Available since 1.13.0 Returns true when the component was invoked with a block template. Example (hasBlock will be false): {{! templates/application.hbs }} {{foo-bar}} {{! templates/components/foo-bar.hbs }} {{#if hasBlock}} This will not be printed, because no block was provided {{/if}} Example (hasBlock will be true): {{! templates/application.hbs }} {{#foo-bar}} Hi! {{/foo-bar}} {{! templates/components/foo-

Component#didUpdateAttrs()

didUpdateAttrspublic Defined in packages/ember-htmlbars/lib/component.js:413 Available since 1.13.0 Called when the attributes passed into the component have been changed. Called only during a rerender, not during an initial render.

Component#didUpdateAttrs event

didUpdateAttrspublic Defined in packages/ember-htmlbars/lib/component.js:423 Available since 1.13.0 Called when the attributes passed into the component have been changed. Called only during a rerender, not during an initial render.

Component#didUpdate()

didUpdatepublic Defined in packages/ember-htmlbars/lib/component.js:451 Available since 1.13.0 Called when the component has updated and rerendered itself. Called only during a rerender, not during an initial render.

Component#didUpdate event

didUpdatepublic Defined in packages/ember-htmlbars/lib/component.js:461 Available since 1.13.0 Called when the component has updated and rerendered itself. Called only during a rerender, not during an initial render.

Component#didRender()

didRenderpublic Defined in packages/ember-htmlbars/lib/component.js:375 Available since 1.13.0 Called after a component has been rendered, both on initial render and in subsequent rerenders.

Component#didRender event

didRenderpublic Defined in packages/ember-htmlbars/lib/component.js:385 Available since 1.13.0 Called after a component has been rendered, both on initial render and in subsequent rerenders.

Component#didReceiveAttrs()

didReceiveAttrspublic Defined in packages/ember-htmlbars/lib/component.js:352 Available since 1.13.0 Called when the attributes passed into the component have been updated. Called both during the initial render of a container and during a rerender. Can be used in place of an observer; code placed here will be executed every time any attribute updates.