mirror of
https://github.com/donl/meteor-ionic.git
synced 2026-05-26 22:06:41 -06:00
add has-badge class for tabs. fixes #51
This commit is contained in:
parent
12f7c64275
commit
77df68757f
1 changed files with 3 additions and 0 deletions
|
|
@ -32,6 +32,9 @@ Template.ionTab.helpers({
|
|||
if (this.class) {
|
||||
classes.push(this.class);
|
||||
}
|
||||
if (this.badgeNumber) {
|
||||
classes.push('has-badge');
|
||||
}
|
||||
return classes.join(' ');
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue