mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 11:41:20 +08:00
refactor(demos): forms and input
This commit is contained in:
13
demos/component-docs/cards/basic/pages.ts
Normal file
13
demos/component-docs/cards/basic/pages.ts
Normal file
@ -0,0 +1,13 @@
|
||||
import {Page} from 'ionic/ionic';
|
||||
import {forwardRef} from 'angular2/angular2';
|
||||
import {AndroidAttribute} from '../../helpers';
|
||||
|
||||
@Page({
|
||||
templateUrl: 'cards/basic/template.html',
|
||||
directives: [forwardRef(() => AndroidAttribute)]
|
||||
})
|
||||
export class BasicPage {
|
||||
constructor() {
|
||||
|
||||
}
|
||||
}
|
21
demos/component-docs/cards/basic/template.html
Normal file
21
demos/component-docs/cards/basic/template.html
Normal file
@ -0,0 +1,21 @@
|
||||
|
||||
<ion-navbar *navbar hide-back-button class="show-navbar android-attr">
|
||||
<ion-title>Basic Cards</ion-title>
|
||||
</ion-navbar>
|
||||
|
||||
<ion-content class="has-header components-demo cards-bg">
|
||||
|
||||
<ion-card>
|
||||
|
||||
<ion-card-content>
|
||||
This is just your basic card with some text to boot. Like it? Keep scrolling...
|
||||
</ion-card-content>
|
||||
|
||||
</ion-card>
|
||||
|
||||
|
||||
</ion-content>
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user