mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
ionicons 3.0
This commit is contained in:
@@ -20,7 +20,7 @@ import {IonicComponent, IonicView} from '../../config/annotations';
|
||||
'<nav class="tab-bar-container">' +
|
||||
'<div class="tab-bar" role="tablist">' +
|
||||
'<button *ng-for="#t of tabs" [tab]="t" class="tab-button" role="tab">' +
|
||||
'<icon [name]="t.tabIcon" class="tab-button-icon"></icon>' +
|
||||
'<icon [name]="t.tabIcon" [is-active]="t.isSelected" class="tab-button-icon"></icon>' +
|
||||
'<span class="tab-button-text">{{t.tabTitle}}</span>' +
|
||||
'</button>' +
|
||||
'</div>' +
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
<ion-tabs>
|
||||
|
||||
<ion-tab tab-title="Tab 1" tab-icon="ion-home">
|
||||
<ion-tab tab-title="Tab 1" tab-icon="home">
|
||||
|
||||
<ion-content class="padding">
|
||||
Tab 1 Content
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
</ion-tab>
|
||||
|
||||
<ion-tab tab-title="Tab 2" tab-icon="ion-star">
|
||||
<ion-tab tab-title="Tab 2" tab-icon="star">
|
||||
|
||||
<ion-content class="padding">
|
||||
Tab 2 Content
|
||||
|
||||
Reference in New Issue
Block a user