Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在不使用任何模板引擎的情况下将现有 html 元素附加到 Ember.js 视图的实现是什么。? 例如在 Backbone.js 我应该给视图 el 属性
鉴于您可以这样做:
didInsertElement: function () { var domNode = this.$().get(0); $(domNode).append('//your html element goes'); }