mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-21 13:01:01 +08:00
13 lines
243 B
TypeScript
13 lines
243 B
TypeScript
import {App, Platform} from 'ionic/ionic';
|
|
|
|
@App({
|
|
templateUrl: 'main.html'
|
|
})
|
|
class ApiDemoApp {
|
|
constructor(platform: Platform) {
|
|
this.platform = platform;
|
|
this.pet = "puppies";
|
|
this.isAndroid = platform.is('android');
|
|
}
|
|
}
|