i have container view insert components dynamically. when trying access properties in components template i've discovered template context not component container view, reason. meaning "view" property in template not pointing component container view above it. can't find documentation indicates supposed happen, ideas why happening?
so, got work.
what did override _yield method in component:
_yield: function () { return ember.view.prototype._yield.apply(this, arguments); }
not sure why needed if can enlighten me, please so
Comments
Post a Comment