mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
toolbar stuff and things
This commit is contained in:
1
src/components/toolbar/test/basic/e2e.js
Normal file
1
src/components/toolbar/test/basic/e2e.js
Normal file
@@ -0,0 +1 @@
|
||||
|
||||
24
src/components/toolbar/test/basic/main.html
Normal file
24
src/components/toolbar/test/basic/main.html
Normal file
@@ -0,0 +1,24 @@
|
||||
|
||||
<ion-view view-title="!attr Title!">
|
||||
|
||||
<ion-view-title>
|
||||
!ele Title!
|
||||
</ion-view-title>
|
||||
|
||||
<ion-nav-items side="primary">
|
||||
<button class="button">p1</button>
|
||||
<button class="button">p2</button>
|
||||
<button class="button">p3</button>
|
||||
<button class="button">p4</button>
|
||||
</ion-nav-items>
|
||||
|
||||
<ion-nav-items side="secondary">
|
||||
<button class="button">s1</button>
|
||||
<button class="button">s2</button>
|
||||
</ion-nav-items>
|
||||
|
||||
<ion-content>
|
||||
CONTENT!!
|
||||
</ion-content>
|
||||
|
||||
</ion-view>
|
||||
17
src/components/toolbar/test/basic/main.js
Normal file
17
src/components/toolbar/test/basic/main.js
Normal file
@@ -0,0 +1,17 @@
|
||||
import {bootstrap} from 'angular2/core';
|
||||
import {Component, Template} from 'angular2/angular2';
|
||||
import {View} from 'ionic2/components/view/view';
|
||||
import {Content} from 'ionic2/components/content/content';
|
||||
|
||||
@Component({ selector: '[ion-app]' })
|
||||
@Template({
|
||||
url: 'main.html',
|
||||
directives: [View, Content]
|
||||
})
|
||||
class IonicApp {
|
||||
constructor() {
|
||||
console.log('IonicApp Start')
|
||||
}
|
||||
}
|
||||
|
||||
bootstrap(IonicApp)
|
||||
Reference in New Issue
Block a user