Comparability for some reason did not work for me, so observing the parentView property inside childView did the trick for me
Handlebar:
<script type="text/x-handlebars" > {{#view App.ParentView}} <h1>Parent</h1> <div> <a href="#" {{action "toggle"}}>hide/show</a> </div> {{#view App.ChildView }} {{view Em.TextArea rows="2" cols="20"}} {{/view}} {{/view}} </script>
CoffeeScript:
App.ParentView = Em.View.extend isChildVisible: true toggle: -> @toggleProperty 'isChildVisible' App.ChildView = Em.View.extend isVisible: (-> @get('parentView.isChildVisible') ).property '_parentView.isChildVisible'
source share