Looking for conditional sub view didInsertElement event... or something
===

I'm assuming I am missing something because so far any feature I've needed has been in ember.js, even if just undocumented. (Yay github)

So how exactly am I supposed to use jquery.ui with views that have conditional sub views?

So say this is my template

    <ul>
        <li>Item 1</li>
        {{#if someBinding}}
        <li>Item 2</li>
        {{/if}}
        <li>Item 3</li>
    </ul>

And in my corresponding view...

    someView = Ember.View.extend({
        ...
        didInsertElement: function() {
            this.$('ul>li').button();
        }
        ...
    });

So the problem with this is that the view will be rendered into the DOM with Item 1 & 3 and then call didInsertElement. So Item 2 will not be built properly.

And manually observing 'someBinding' will fire before the conditional view is added to the DOM as well, so that's no help.

So is there an event or some way I can call my jQuery once all views are in and binding synced?
