mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-21 21:15:24 +08:00
27 lines
395 B
TypeScript
27 lines
395 B
TypeScript
import {Component} from '@angular/core';
|
|
import {ionicBootstrap} from 'ionic-angular';
|
|
|
|
|
|
@Component({
|
|
templateUrl: 'main.html'
|
|
})
|
|
class ApiDemoApp {
|
|
|
|
data = {
|
|
jon: true,
|
|
daenerys: true,
|
|
arya: false,
|
|
tyroin: false,
|
|
sansa: true,
|
|
khal: false,
|
|
cersei: true,
|
|
stannis: true,
|
|
petyr: false,
|
|
hodor: true,
|
|
catelyn: true
|
|
};
|
|
|
|
}
|
|
|
|
ionicBootstrap(ApiDemoApp);
|