Component#didReceiveAttrs event

didReceiveAttrspublic Defined in packages/ember-htmlbars/lib/component.js:364 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.

Component#destroy()

destroyprivate Inherited from Ember.CoreObject but overwritten 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.

Component

Ember.Component Class PUBLIC Extends: Ember.View Uses: Ember.ViewTargetActionSupport Defined in: packages/ember-htmlbars/lib/component.js:21 Module: ember-views An Ember.Component is a view that is completely isolated. Properties accessed in its templates go to the view object and actions are targeted at the view object. There is no access to the surrounding context or outer controller; all contextual information must be passed in. The easiest way to create an Ember.Component is via a temp

Comparable#compare()

compare (a, b) Numberprivate Defined in packages/ember-runtime/lib/mixins/comparable.js:21 Required. You must implement this method to apply this mixin. Override to return the result of the comparison of the two parameters. The compare method should return: -1 if a < b 0 if a == b 1 if a > b Default implementation raises an exception. Parameters: a Object the first object to compare b Object the second object to compare Returns: Number the result of the comparison

Comparable

Ember.Comparable Class PRIVATE Defined in: packages/ember-runtime/lib/mixins/comparable.js:8 Module: ember-runtime Implements some standard methods for comparing objects. Add this mixin to any class you create that can compare its instances. You should implement the compare() method.

ClassNamesSupport#removeChild()

removeChild (view) Ember.Viewprivate Defined in packages/ember-views/lib/mixins/child_views_support.js:33 Removes the child view from the parent view. Parameters: view Ember.View Returns: Ember.View receiver

ClassNamesSupport#classNames

classNamesArraypublic Defined in packages/ember-views/lib/mixins/class_names_support.js:29 Standard CSS class names to apply to the view's outer element. This property automatically inherits any class names defined by the view's superclasses as well. Default: ['ember-view']

ClassNamesSupport#classNameBindings

classNameBindingsArraypublic Defined in packages/ember-views/lib/mixins/class_names_support.js:41 A list of properties of the view to apply as class names. If the property is a string value, the value of that string will be applied as a class name. // Applies the 'high' class to the view element Ember.View.extend({ classNameBindings: ['priority'], priority: 'high' }); If the value of the property is a Boolean, the name of that property is added as a dasherized class name. // Applies th

ClassNamesSupport#childViews

childViewsArrayprivate Defined in packages/ember-views/lib/mixins/child_views_support.js:12 Array of child views. You should never edit this array directly. Default: []

ClassNamesSupport

Ember.ClassNamesSupport Class PRIVATE Defined in: packages/ember-views/lib/mixins/class_names_support.js:11 Module: ember-views