Last active
December 10, 2015 21:28
-
-
Save cloke/4495264 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MyApp.MyCollectionView = Ember.CollectionView.create({ | |
tagName: 'ul' | |
contentBinding: 'some array controller', | |
itemViewClass: Ember.View.extend({ | |
tagName: 'li' | |
template: Ember.Handlebars.compile("the letter: {{view.content}}") | |
}) | |
}); | |
in your tempate: | |
{{view MyApp.MyCollectionView}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment