Ember.js:如何在模板中保留HTML标记 {{{with view.content.json} {{unbound artistName}} {{未绑定价格}} {{未绑定primaryGenreName}} {{未绑定版本}} {{/与}} {{view Em.CollectionView itemViewClass=“App.ItemView”contentBinding=“App.itemsController”}

Ember.js:如何在模板中保留HTML标记 {{{with view.content.json} {{unbound artistName}} {{未绑定价格}} {{未绑定primaryGenreName}} {{未绑定版本}} {{/与}} {{view Em.CollectionView itemViewClass=“App.ItemView”contentBinding=“App.itemsController”},ember.js,Ember.js,使用ember-1.0.pre.js剥离上述模板中的HTML表格标记。在有很多值的情况下,输出结果表是否有比这更合适的模式 这篇文章似乎与保留标签的主题相关,但余烬在这上面添加了自己的抽象。看看,我想这就是你想要找到的。根据您的目标,您应该能够在中替换一组不同的列表类型 anUndorderedListView = Ember.CollectionView.create({ tagName: 'tbody', content: ['A','B','C','D'], ite

使用ember-1.0.pre.js剥离上述模板中的HTML表格标记。在有很多值的情况下,输出结果表是否有比这更合适的模式

这篇文章似乎与保留标签的主题相关,但余烬在这上面添加了自己的抽象。

看看,我想这就是你想要找到的。根据您的目标,您应该能够在中替换一组不同的列表类型

anUndorderedListView = Ember.CollectionView.create({
    tagName: 'tbody',
    content: ['A','B','C','D'],
    itemViewClass: Ember.View.extend({
        templateName: 'item-view'
    })
});