mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 20:33:32 +08:00
25 lines
400 B
TypeScript
25 lines
400 B
TypeScript
import {Component} from '@angular/core';
|
|
import {ionicBootstrap} from 'ionic-angular';
|
|
|
|
|
|
@Component({
|
|
templateUrl: 'main.html'
|
|
})
|
|
class ApiDemoApp {
|
|
data = {
|
|
frodo: true,
|
|
sam: false,
|
|
eowyn: true,
|
|
legolas: true,
|
|
gimli: false,
|
|
saruman: true,
|
|
gandalf: true,
|
|
arwen: false,
|
|
boromir: false,
|
|
gollum: true,
|
|
galadriel: false
|
|
};
|
|
}
|
|
|
|
ionicBootstrap(ApiDemoApp);
|