refresh: function()

in xf/src/xf.view.js [204:213]


        refresh: function() {

            if (this.status.loaded && this.template.src) {
                if ((!this.component.collection && !this.component.model) || (this.component.collection && this.component.collection.status.loaded) || (this.component.model && this.component.model.status.loaded)) {
                    this.beforeRender();
                    this.render();
                    this.afterRender();
                }
            }
        },