Skip to content

Commit

Permalink
feat(md-collection): add element for secondary-content
Browse files Browse the repository at this point in the history
  • Loading branch information
Thanood committed Apr 11, 2016
1 parent 3e5bdda commit 86c06a1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/collection/collection-item.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<template class="collection-item">
<require from="./collection-item.css"></require>
<content></content>
<content select="md-collection-item-secondary"></content>
</template>
3 changes: 3 additions & 0 deletions src/collection/md-collection-item-secondary.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<template class="secondary-content">
<content></content>
</template>
1 change: 1 addition & 0 deletions src/config-builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ export class ConfigBuilder {
useCollection() : ConfigBuilder {
this.globalResources.push('./collection/collection');
this.globalResources.push('./collection/collection-item');
this.globalResources.push('./collection/md-collection-item-secondary.html');
return this;
}

Expand Down

0 comments on commit 86c06a1

Please sign in to comment.