小编dkl*_*mer的帖子

Backbone.Marionette Fade Transition仅适用于特定地区?

我知道我可以通过使用以下内容覆盖所有区域以添加淡入淡出过渡.

Marionette.Region.prototype.open = function(view){
  this.$el.hide();
  this.$el.html(view.el);
  this.$el.fadeIn()
}
Run Code Online (Sandbox Code Playgroud)

有没有办法只覆盖特定的区域或视图?我的布局中有某些区域我希望能够淡入,而其他区域应该立即渲染.

谢谢,

DK

marionette

9
推荐指数
1
解决办法
3897
查看次数

标签 统计

marionette ×1