0
Как сделать свой позвоночник слайд - некоторые анимации на представлении Backboneанимация на вид магистральную
var View = Backbone.View.extend({
el : "#editor", // Bind to the editor id
render : function() {
var data = {
item: this.model,
_: _
};
var compiledTemplate = _.template(Template, data); // Merge model with template
this.$el.html(compiledTemplate);
this.$('.editor-pane').show(500); // Does animation work here...NO!! Urgh.
return this;
}
});
Да. #editor содержит .editor панельного
Im также счастлив с версией на элементе #editor:
this.$el.html(compiledTemplate).show ('slow');
можно было бы активировать события {'onload –