Skip to content

Instantly share code, notes, and snippets.

@matthieu-D
Last active August 12, 2017 21:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matthieu-D/92b80562e69cd48db8182d9db31cfcdd to your computer and use it in GitHub Desktop.
Save matthieu-D/92b80562e69cd48db8182d9db31cfcdd to your computer and use it in GitHub Desktop.
import { Component , NgZone } from '@angular/core';
import { Platform } from 'ionic-angular';
@Component({
selector: 'page-home',
templateUrl: 'home.html'
})
export class HomePage {
savedParentNativeURLs = [];
items;
constructor(public plt: Platform, public ngZone: NgZone) {
plt.ready()
.then(() => {
this.listRootDir();
})
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment