Reputation: 13379
I have different childViews
of a ContainerView
. Is it possible to access ContainerView
from childView
in init()
method. I have tried using this.get('parentView')
which doesnot work in init()
method
Upvotes: 0
Views: 121
Reputation: 8389
It should be available as this._parentView
in init
of the child view.
For example: http://jsfiddle.net/6p6XJ/192/
Upvotes: 1