mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-21 13:01:01 +08:00
26 lines
375 B
TypeScript
26 lines
375 B
TypeScript
import {App} from 'ionic-angular';
|
|
|
|
@App({
|
|
templateUrl: 'main.html'
|
|
})
|
|
class ApiDemoApp {
|
|
data;
|
|
|
|
constructor() {
|
|
this.data = {
|
|
frodo: true,
|
|
sam: false,
|
|
eowyn: true,
|
|
legolas: true,
|
|
gimli: false,
|
|
saruman: true,
|
|
gandalf: true,
|
|
arwen: false,
|
|
boromir: false,
|
|
gollum: true,
|
|
galadriel: false
|
|
};
|
|
}
|
|
|
|
}
|