diff --git a/demos/input/index.ts b/demos/input/index.ts new file mode 100644 index 0000000000..405e893db7 --- /dev/null +++ b/demos/input/index.ts @@ -0,0 +1,6 @@ +import {App} from 'ionic/ionic'; + +@App({ + templateUrl: 'main.html' +}) +class ApiDemoApp {} diff --git a/demos/input/main.html b/demos/input/main.html new file mode 100644 index 0000000000..57c23cabbc --- /dev/null +++ b/demos/input/main.html @@ -0,0 +1,37 @@ + + Input + + + + + + Inline Label + + + + + Fixed Label + + + + + + + + + Stacked Label + + + + + Stacked Label + + + + + Floating Label + + + + + diff --git a/demos/textarea/index.ts b/demos/textarea/index.ts new file mode 100644 index 0000000000..405e893db7 --- /dev/null +++ b/demos/textarea/index.ts @@ -0,0 +1,6 @@ +import {App} from 'ionic/ionic'; + +@App({ + templateUrl: 'main.html' +}) +class ApiDemoApp {} diff --git a/demos/textarea/main.html b/demos/textarea/main.html new file mode 100644 index 0000000000..9dd4454949 --- /dev/null +++ b/demos/textarea/main.html @@ -0,0 +1,32 @@ + + Textarea + + + + + + Inline Label + + + + + Fixed Label + + + + + + + + + Stacked Label + + + + + Floating Label + + + + + diff --git a/ionic/components/input/input.ts b/ionic/components/input/input.ts index c84c2d2634..e45406d2c6 100644 --- a/ionic/components/input/input.ts +++ b/ionic/components/input/input.ts @@ -60,6 +60,7 @@ import {Platform} from '../../platform/platform'; * * ``` * + * @demo /docs/v2/demos/input/ */ @Component({ selector: 'ion-input', @@ -128,6 +129,7 @@ export class TextInput extends InputBase { * * ``` * + * @demo /docs/v2/demos/textarea/ */ @Component({ selector: 'ion-textarea',