Say I have a template which displays a view based on a property:
{{#if App.contentsAreVisible}}
{{view ToggleContents}}
{{/if}}
This ar
I know this already has the right answer, but I thought I'd pop something similar up in case anyone else finds this through Google like I did.
One of my apps has a 'detail' section that always has the same content binding but changes the template for view/edit/etc modes.
Because I'm using rerender() to achieve this and want the view to fade out then in again so it hides any glitchiness of the rerender function (as well as make it look nice) I have wrapped it in a for animation purposes.
and
{{App.Views.Whatever}}
Perhaps not the best option, but also perhaps useful to someone