mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
add advanced tabs testg
This commit is contained in:
@@ -3,8 +3,11 @@
|
||||
|
||||
<ion-tabs>
|
||||
|
||||
<ion-tab>
|
||||
Tab 1 Content
|
||||
<ion-tab tab-title="Tab 1">
|
||||
Tab 1 Content<br/>.
|
||||
</ion-tab>
|
||||
<ion-tab tab-title="Tab 2">
|
||||
.<br/>Tab 2 Content
|
||||
</ion-tab>
|
||||
|
||||
</ion-tabs>
|
||||
|
||||
@@ -1,13 +1,12 @@
|
||||
import {bootstrap} from 'angular2/core';
|
||||
import {Component, Template} from 'angular2/angular2';
|
||||
import {View} from 'ionic2/components/view/view';
|
||||
import {Tabs} from 'ionic2/components/tabs/tabs';
|
||||
import {View, Tabs, Tab} from 'ionic2/components';
|
||||
|
||||
|
||||
@Component({ selector: '[ion-app]' })
|
||||
@Template({
|
||||
url: 'main.html',
|
||||
directives: [View, Tabs]
|
||||
directives: [View, Tabs, Tab]
|
||||
})
|
||||
class IonicApp {
|
||||
constructor() {
|
||||
|
||||
Reference in New Issue
Block a user