W3cubDocs

/Haxe JavaScript

Directory

package js.html

Available on js

Constructor

new(path:String)

Throws:

null

DOMError

Variables

read onlyname:String

read onlypath:String

Methods

getFiles(recursiveFlag:Bool = false):Promise<Array<File>>

Throws:

null

DOMError

getFilesAndDirectories():Promise<Array<EitherType<File, Directory>>>

Throws:

null

DOMError

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/Directory.html