Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Added documentation for tagName in SC.TemplateCollectionView

  • Loading branch information...
1 parent 165e21a commit e7070ba8208d276200c615b789eb153ae19479e4 Thomas Bartelmess committed with wagenet
Showing with 8 additions and 0 deletions.
  1. +8 −0 frameworks/core_foundation/views/template_collection.js
8 frameworks/core_foundation/views/template_collection.js
@@ -9,7 +9,15 @@ sc_require('views/template');
SC.TemplateCollectionView = SC.TemplateView.extend(
/** @scope SC.TemplateCollectionView.prototype */{
+ /**
+ Name of the tag that is used for the collection
+ If the tag is a list ('ul' or 'ol') each item will be wrapped into a 'li' tag.
+ If the tag is a table ('table', 'thead', 'tbody') each item will be wrapped into a 'tr' tag.
+ @property {String}
+ @default ul
+ */
tagName: 'ul',
content: null,
template: SC.Handlebars.compile(''),

0 comments on commit e7070ba

Please sign in to comment.
Something went wrong with that request. Please try again.