- Preparing search index...
- The search index is not available
gophergfx
Methods
Static load
- load(filename: string, callback?: null | ((loadedFile: TextFile) => void)): TextFile
-
Parameters
-
filename: string
-
callback: null | ((loadedFile: TextFile) => void) = null
Loads a text file located at the specified filename asynchronously
Returns
The TextFile object that will contain the loaded file's data. Note, it will only contain the data AFTER the asynchronous loading is complete.