Ember.BOOTED

BOOTEDBooleanprivate Defined in packages/ember-runtime/lib/index.js:228 Whether searching on the global for new Namespace instances is enabled. This is only exported here as to not break any addons. Given the new visit API, you will have issues if you treat this as a indicator of booted. Internally this is only exposing a flag in Namespace.

Ember.bind()

bind (obj, to, from) Ember.Bindingpublic Defined in packages/ember-metal/lib/binding.js:486 Global helper method to create a new binding. Just pass the root object along with a to and from path to create and connect the binding. Parameters: obj Object The root object of the transform. to String The path to the 'to' side of the binding. Must be relative to obj. from String The path to the 'from' side of the binding. Must be relative to obj or a global path. Returns: Ember.Bi

Ember.beginPropertyChanges()

beginPropertyChangesprivate Defined in packages/ember-metal/lib/property_events.js:205

Ember.assert()

assert (desc, test) public Defined in packages/ember-debug/lib/index.js:33 Define an assertion that will throw an exception if the condition is not met. In a production build, this method is defined as an empty function (NOP). Uses of this method in Ember itself are stripped from the ember.prod.js build. // Test for truthiness Ember.assert('Must pass a valid object', obj); // Fail unconditionally Ember.assert('This code path should never be run'); Parameters: desc String A descriptio

Ember.assign()

assign (original, args) Objectpublic Defined in packages/ember-metal/lib/assign.js:1 Copy properties from a source object to a target object. var a = { first: 'Yehuda' }; var b = { last: 'Katz' }; var c = { company: 'Tilde Inc.' }; Ember.assign(a, b, c); // a === { first: 'Yehuda', last: 'Katz', company: 'Tilde Inc.' }, b === { last: 'Katz' }, c === { company: 'Tilde Inc.' } Parameters: original Object The object to assign into args Object The objects to copy properties from Re

Ember.beforeObserver()

beforeObserver (propertyNames, func) deprecatedprivate Defined in packages/ember-metal/lib/mixin.js:794 When observers fire, they are called with the arguments obj, keyName. Note, @each.property observer is called per each add or replace of an element and it's not called with a specific enumeration item. A _beforeObserver fires before a property changes. A _beforeObserver is an alternative form of .observesBefore(). App.PersonView = Ember.View.extend({ friends: [{ name: 'Tom' }, { name: '

Ember.addObserver()

addObserver (obj, _path, target, method) public Defined in packages/ember-metal/lib/observer.js:27 Parameters: obj _path String target Object|Function method [Function|String]

Ember.addListener()

addListener (obj, eventName, target, method, once) public Defined in packages/ember-metal/lib/events.js:70 Add an event listener Parameters: obj eventName String target Object|Function A target object or a function method Function|String A function or the name of a function to be called on `target` once Boolean A flag whether a function should only be called once

Ember.aliasMethod()

aliasMethod (methodName) public Defined in packages/ember-metal/lib/mixin.js:673 Makes a method available via an additional name. App.Person = Ember.Object.extend({ name: function() { return 'Tomhuda Katzdale'; }, moniker: Ember.aliasMethod('name') }); let goodGuy = App.Person.create(); goodGuy.name(); // 'Tomhuda Katzdale' goodGuy.moniker(); // 'Tomhuda Katzdale' Parameters: methodName String name of the method to alias

Ember.A()

AEmber.NativeArraypublic Defined in packages/ember-runtime/lib/system/native_array.js:108 Creates an Ember.NativeArray from an Array like object. Does not modify the original object. Ember.A is not needed if EmberENV.EXTEND_PROTOTYPES is true (the default value). However, it is recommended that you use Ember.A when creating addons for ember or when you can not guarantee that EmberENV.EXTEND_PROTOTYPES will be true. Example export default Ember.Component.extend({ tagName: 'ul', className