mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
refactor(demos): forms and input
This commit is contained in:
13
demos/component-docs/labels/fixed-inline/pages.ts
Normal file
13
demos/component-docs/labels/fixed-inline/pages.ts
Normal file
@ -0,0 +1,13 @@
|
||||
import {Page} from 'ionic/ionic';
|
||||
import {forwardRef} from 'angular2/angular2';
|
||||
import {AndroidAttribute} from '../../helpers';
|
||||
|
||||
@Page({
|
||||
templateUrl: 'labels/fixed-inline/template.html',
|
||||
directives: [forwardRef(() => AndroidAttribute)]
|
||||
})
|
||||
export class FixedInlinePage {
|
||||
constructor() {
|
||||
|
||||
}
|
||||
}
|
26
demos/component-docs/labels/fixed-inline/template.html
Normal file
26
demos/component-docs/labels/fixed-inline/template.html
Normal file
@ -0,0 +1,26 @@
|
||||
<ion-navbar *navbar hide-back-button class="android-attr">
|
||||
<ion-title>Fixed Labels</ion-title>
|
||||
</ion-navbar>
|
||||
|
||||
<ion-content class="has-header components-demo">
|
||||
|
||||
<ion-list>
|
||||
|
||||
<ion-input fixed-label>
|
||||
<ion-label>Username</ion-label>
|
||||
<input type="text" value="">
|
||||
</ion-input>
|
||||
|
||||
<ion-input fixed-label>
|
||||
<ion-label>Password</ion-label>
|
||||
<input type="password" value="">
|
||||
</ion-input>
|
||||
|
||||
</ion-list>
|
||||
|
||||
<div padding>
|
||||
<button primary block>Sign In</button>
|
||||
</div>
|
||||
|
||||
|
||||
</ion-content>
|
Reference in New Issue
Block a user