From HTML5 Builder
Jump to: navigation, search

MDirectoryReader lets your application list the content of a directory, files and folders.


These are JavaScript functions you can call when you use this component in a screen.

Note: Replace ComponentName with the actual name of the component, that is, the value of its Name property. For example: MDirectoryReader1.

Read file and folder entries inside the folder it works on. It triggers OnReadEntries event, or OnReadEntriesError if an error occurs.


These are JavaScript MDirectoryReader events you can associate to JavaScript functions.

This event gets triggered when ComponentNameReadEntries successfully returns an array of DirectoryEntry and FileEntry objects, which is its only parameter.
This event gets triggered when an error occurs after calling ComponentNameReadEntries. Its only parameter is a ContactError object.

See Also