From d2169386fb523d8f3a86060f6d95047ba4b9921a Mon Sep 17 00:00:00 2001 From: Max Lynch Date: Sun, 7 Jun 2015 22:07:05 -0500 Subject: [PATCH] Main --- ionic/components/app/test/snapcat/index.js | 4 +- ionic/components/app/test/snapcat/main.html | 105 +++++++++++++++++--- ionic/components/slides/test/basic/index.js | 2 +- 3 files changed, 95 insertions(+), 16 deletions(-) diff --git a/ionic/components/app/test/snapcat/index.js b/ionic/components/app/test/snapcat/index.js index b2bb1e27f6..7d96d821ad 100644 --- a/ionic/components/app/test/snapcat/index.js +++ b/ionic/components/app/test/snapcat/index.js @@ -2,12 +2,12 @@ import {bootstrap} from 'angular2/angular2' import {Component, Directive} from 'angular2/src/core/annotations_impl/annotations'; import {View} from 'angular2/src/core/annotations_impl/view'; -import {Nav, Slides, Slide, Content, Button} from 'ionic/ionic'; +import {Nav, Slides, Slide, Content, Button, List, Item} from 'ionic/ionic'; @Component({ selector: 'ion-app' }) @View({ templateUrl: 'main.html', - directives: [Nav, Slides, Slide, Content, Button] + directives: [Nav, Slides, Slide, Content, Button, List, Item] }) export class IonicApp { constructor() { diff --git a/ionic/components/app/test/snapcat/main.html b/ionic/components/app/test/snapcat/main.html index 199be4fcc4..8fde60ab45 100644 --- a/ionic/components/app/test/snapcat/main.html +++ b/ionic/components/app/test/snapcat/main.html @@ -1,31 +1,110 @@ - + - - secret + + +
+ secret +
+ -

Page 1

+ + + Activity + + + Chat + +
+
- - feed + + +
+ feed +
+ -

Page 2

+ +
+
+
+
+ This is a nice test. What do you + think about space ships and pumpkins? Of + rainbows and blue shoes? Of rabbits + and mistletoe? + + +
+
+
+
+
+
+ + diff --git a/ionic/components/slides/test/basic/index.js b/ionic/components/slides/test/basic/index.js index fc10d9aa22..5f25d01092 100644 --- a/ionic/components/slides/test/basic/index.js +++ b/ionic/components/slides/test/basic/index.js @@ -8,7 +8,7 @@ import {Slides, Slide, SlidePager, List, Item, Content, Button} from 'ionic/ioni selector: 'ion-app' }) @View({ - directives: [Slides, Slide, SlidePager, Content, Button], + directives: [Slides, Slide, SlidePager, Content, Button, List, Item], templateUrl: 'main.html' }) class IonicApp {