mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 19:57:22 +08:00
refactor: <tabbar> => <ion-tabbar>
This commit is contained in:
@ -1 +0,0 @@
|
|||||||
<tabbar view-title="My Tabs"></tabbar>
|
|
1
playground/main.html
Normal file
1
playground/main.html
Normal file
@ -0,0 +1 @@
|
|||||||
|
<ion-tabbar view-title="My Tabs"></ion-tabbar>
|
@ -4,7 +4,7 @@ import {Tabbar} from 'ionic/components/tabbar/tabbar';
|
|||||||
|
|
||||||
@Component({ selector: 'playground-main' })
|
@Component({ selector: 'playground-main' })
|
||||||
@Template({
|
@Template({
|
||||||
url: 'app.html',
|
url: 'main.html',
|
||||||
directives: [Tabbar]
|
directives: [Tabbar]
|
||||||
})
|
})
|
||||||
class PlaygroundMain {}
|
class PlaygroundMain {}
|
||||||
|
@ -2,7 +2,7 @@ import {Component, Template} from 'angular2/angular2';
|
|||||||
import {Ion} from '../ion';
|
import {Ion} from '../ion';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'tabbar',
|
selector: 'ion-tabbar',
|
||||||
bind: {
|
bind: {
|
||||||
title: 'view-title'
|
title: 'view-title'
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user