ownerInjectionObjectpublic
Returns an object that can be used to provide an owner to a manually created instance.
Example:
let owner = Ember.getOwner(this);
User.create(
owner.ownerInjection(),
{ username: 'rwjblue' }
)
Returns:
-
Object
ownerInjectionObjectpublic
Returns an object that can be used to provide an owner to a manually created instance.
Example:
let owner = Ember.getOwner(this);
User.create(
owner.ownerInjection(),
{ username: 'rwjblue' }
)
Object
Please login to continue.