mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 13:32:54 +08:00
29 lines
450 B
TypeScript
29 lines
450 B
TypeScript
import { Component } from '@angular/core';
|
|
|
|
@Component({
|
|
templateUrl: 'page.html'
|
|
})
|
|
export class ApiDemoPage {
|
|
data = {
|
|
frodo: true,
|
|
sam: false,
|
|
eowyn: true,
|
|
legolas: true,
|
|
gimli: false,
|
|
saruman: true,
|
|
gandalf: true,
|
|
arwen: false,
|
|
boromir: false,
|
|
gollum: true,
|
|
galadriel: false
|
|
};
|
|
}
|
|
|
|
|
|
@Component({
|
|
template: '<ion-nav [root]="root"></ion-nav>'
|
|
})
|
|
export class ApiDemoApp {
|
|
root = ApiDemoPage;
|
|
}
|