mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +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' })
|
||||
@Template({
|
||||
url: 'app.html',
|
||||
url: 'main.html',
|
||||
directives: [Tabbar]
|
||||
})
|
||||
class PlaygroundMain {}
|
||||
|
@ -2,7 +2,7 @@ import {Component, Template} from 'angular2/angular2';
|
||||
import {Ion} from '../ion';
|
||||
|
||||
@Component({
|
||||
selector: 'tabbar',
|
||||
selector: 'ion-tabbar',
|
||||
bind: {
|
||||
title: 'view-title'
|
||||
}
|
||||
|
Reference in New Issue
Block a user