mirror of
https://github.com/donl/meteor-ionic.git
synced 2026-06-30 06:12:08 -06:00
Merge pull request #88 from bastiRe/master
Added possibility for text-only tabs
This commit is contained in:
commit
5fd3ec6d96
1 changed files with 6 additions and 4 deletions
|
|
@ -1,9 +1,11 @@
|
|||
<template name="ionTab">
|
||||
<a class="{{classes}} {{isActive}}" href="{{url}}" data-ion-tab>
|
||||
{{#if isActive}}
|
||||
{{> ionIcon icon=activeIcon}}
|
||||
{{else}}
|
||||
{{> ionIcon icon=defaultIcon}}
|
||||
{{#if defaultIcon}}
|
||||
{{#if isActive}}
|
||||
{{> ionIcon icon=activeIcon}}
|
||||
{{else}}
|
||||
{{> ionIcon icon=defaultIcon}}
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
||||
{{title}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue