CoreView

Ember.CoreView Class DEPRECATED PRIVATE Extends: Ember.Object Uses: Ember.Evented Uses: Ember.ActionHandler Defined in: packages/ember-views/lib/views/core_view.js:18 Module: ember Ember.CoreView is an abstract class that exists to give view-like behavior to both Ember's main view class Ember.View and other classes that don't need the fully functionaltiy of Ember.View. Unless you have specific needs for CoreView, you will use Ember.View in your applications.

CoreObject.eachComputedProperty()

eachComputedProperty (callback, binding) privatestatic Defined in packages/ember-runtime/lib/system/core_object.js:853 Iterate over each computed property for the class, passing its name and any associated metadata (see metaForProperty) to the callback. Parameters: callback Function binding Object

CoreObject.create()

create (arguments) publicstatic Defined in packages/ember-runtime/lib/system/core_object.js:635 Creates an instance of a class. Accepts either no arguments, or an object containing values to initialize the newly instantiated object with. App.Person = Ember.Object.extend({ helloWorld: function() { alert("Hi, my name is " + this.get('name')); } }); var tom = App.Person.create({ name: 'Tom Dale' }); tom.helloWorld(); // alerts "Hi, my name is Tom Dale". create will call the init f

CoreObject.extend()

extend (mixins, arguments) publicstatic Defined in packages/ember-runtime/lib/system/core_object.js:527 Creates a new subclass. App.Person = Ember.Object.extend({ say: function(thing) { alert(thing); } }); This defines a new subclass of Ember.Object: App.Person. It contains one method: say(). You can also create a subclass from any existing class by calling its extend() method. For example, you might want to create a subclass of Ember's built-in Ember.View class: App.PersonView =

CoreObject#_scheduledDestroy()

_scheduledDestroyprivate Defined in packages/ember-runtime/lib/system/core_object.js:448 Invoked by the run loop to actually destroy the object. This is scheduled for execution by the destroy method.

CoreObject#_onLookup()

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

CoreObject#_lazyInjections()

_lazyInjectionsObjectprivate Defined in packages/ember-runtime/lib/system/core_object.js:890 Returns a hash of property names and container names that injected properties will lookup on the container lazily. Returns: Object Hash of all lazy injected property keys to container names

CoreObject#willDestroy()

willDestroypublic Defined in packages/ember-runtime/lib/system/core_object.js:440 Override to implement teardown.

CoreObject#mergedProperties

mergedPropertiesArraypublic Defined in packages/ember-runtime/lib/system/core_object.js:324 Defines the properties that will be merged from the superclass (instead of overridden). By default, when you extend an Ember class a property defined in the subclass overrides a property with the same name that is defined in the superclass. However, there are some cases where it is preferable to build up a property's value by merging the superclass property value with the subclass property's value. A

CoreObject#isDestroying

isDestroyingpublic Defined in packages/ember-runtime/lib/system/core_object.js:405 Destruction scheduled flag. The destroy() method has been called. The object stays intact until the end of the run loop at which point the isDestroyed flag is set. Default: false