ObjectProxy

Ember.ObjectProxy Class

PUBLIC

Extends: Ember.Object

Uses: Ember.ProxyMixin

Defined in: packages/ember-runtime/lib/system/object_proxy.js:4

Module: ember

Ember.ObjectProxy forwards all properties not defined by the proxy itself to a proxied content object.

object = Ember.Object.create({
  name: 'Foo'
});

proxy = Ember.ObjectProxy.create({
  content: object
});

// Access and change existing properties
proxy.get('name')