Skip to content

Instantly share code, notes, and snippets.

@matthieu-D
Created August 12, 2017 21:28
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/d5155048aa16c12987b79e94e916fa62 to your computer and use it in GitHub Desktop.
Save matthieu-D/d5155048aa16c12987b79e94e916fa62 to your computer and use it in GitHub Desktop.
goUp = () => {
const parentNativeURL = this.savedParentNativeURLs.pop();
(<any> window).resolveLocalFileSystemURL(parentNativeURL,
(fileSystem) => {
var reader = fileSystem.createReader();
reader.readEntries(
(entries) => {
this.ngZone.run(()=> {
this.items = entries;
})
}, this.handleError);
}, this.handleError);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment