Backbone, not “this.el” wrapping

前端 未结 3 1422
遇见更好的自我
遇见更好的自我 2020-11-27 17:21

I do an extensive use of templates, and I like to use full contained templates. I mean that I want to see in the template code all the DOM element

3条回答
  •  一向
    一向 (楼主)
    2020-11-27 18:15

    Backbone.Decarative.Views provides you with an alternative way to do this, without having to rely on setElement. For more, check out my answer here.

提交回复
热议问题