Created
August 12, 2017 21:28
-
-
Save matthieu-D/d5155048aa16c12987b79e94e916fa62 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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