diff --git a/src/components/item/test/inputs/app-module.ts b/src/components/item/test/inputs/app-module.ts new file mode 100644 index 0000000000..d90f6e83b0 --- /dev/null +++ b/src/components/item/test/inputs/app-module.ts @@ -0,0 +1,38 @@ +import { Component, NgModule } from '@angular/core'; +import { IonicApp, IonicModule } from '../../../..'; + + +@Component({ + templateUrl: 'main.html' +}) +export class E2EPage { + datetime = '2016-12-09'; + toggle = true; + select = 'n64'; + text = 'Text'; + checkbox = true; + range = 10; +} + +@Component({ + template: '' +}) +export class E2EApp { + rootPage = E2EPage; +} + +@NgModule({ + declarations: [ + E2EApp, + E2EPage + ], + imports: [ + IonicModule.forRoot(E2EApp) + ], + bootstrap: [IonicApp], + entryComponents: [ + E2EApp, + E2EPage + ] +}) +export class AppModule {} diff --git a/src/components/item/test/inputs/e2e.ts b/src/components/item/test/inputs/e2e.ts new file mode 100644 index 0000000000..8b13789179 --- /dev/null +++ b/src/components/item/test/inputs/e2e.ts @@ -0,0 +1 @@ + diff --git a/src/components/item/test/inputs/main.html b/src/components/item/test/inputs/main.html new file mode 100644 index 0000000000..e86c307627 --- /dev/null +++ b/src/components/item/test/inputs/main.html @@ -0,0 +1,68 @@ + + + + Item inputs + + + + + + + + + Simple item + + + + + + DateTime + + + + + Select + + NES + Nintendo64 + PlayStation + Sega Genesis + Sega Saturn + SNES + + + + + Toggle + + + + + Input (text) + + + + + Input (placeholder) + + + + + Checkbox + + + + + Toggle (left) + + + + + Range + + + + +