mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
16 lines
250 B
JavaScript
16 lines
250 B
JavaScript
import {ApplicationRef} from 'angular2/angular2';
|
|
|
|
export class Ionic {
|
|
constructor() {
|
|
|
|
}
|
|
|
|
setAppRef(appRef: ApplicationRef) {
|
|
this.appRef = appRef;
|
|
console.log('Got app ref', appRef);
|
|
}
|
|
getAppRef() {
|
|
return this.appRef;
|
|
}
|
|
}
|