diff --git a/ionic/components/slides/test/intro/index.ts b/ionic/components/slides/test/intro/index.ts index 277825b69e..b1c509f9fb 100644 --- a/ionic/components/slides/test/intro/index.ts +++ b/ionic/components/slides/test/intro/index.ts @@ -1,11 +1,44 @@ -import {App} from '../../../../../ionic/ionic'; +import {App, Page, NavController} from 'ionic/ionic'; @App({ - templateUrl: 'main.html' + template: '' }) class MyApp { + constructor() { + this.rootPage = IntroPage; + } +} + +@Page({ + templateUrl: 'main.html' +}) +class IntroPage { + constructor(nav: NavController) { + this.nav = nav; + } + onSlideChanged(slider) { console.log('Slide changed', slider); } + + skip() { + this.nav.push(MainPage); + } +} + +@Page({ + template: ` + + Slides + + + +

Another Page

+
+ + ` +}) +class MainPage { + } diff --git a/ionic/components/slides/test/intro/main.html b/ionic/components/slides/test/intro/main.html index dd0363c796..e840a1522c 100644 --- a/ionic/components/slides/test/intro/main.html +++ b/ionic/components/slides/test/intro/main.html @@ -1,3 +1,41 @@ + + + + + Slides + + + + + +

Thank you for choosing the Awesome App!

+ +

+ The number one app for everything awesome. +

+
+ +

Using Awesome

+ +
+
Just three steps:
+
    +
  1. Be awesome
  2. +
  3. Stay awesome
  4. +
  5. There is no step 3
  6. +
+
+
+ +

Any questions?

+
+
+
+ - - - - - - - - Grid Icons - - - -

Thank you for choosing the Awesome App!

- -

- The number one app for everything awesome. -

-
- -

Using Awesome

- -
-
Just three steps:
-
    -
  1. Be awesome
  2. -
  3. Stay awesome
  4. -
  5. There is no step 3
  6. -
-
-
- -

Any questions?

-
-