Skip to content

Gun-Vue docs v0.21.4Docs


Gun-Vue docs v0.21.4 / File / uploadText

Function: uploadText()

uploadText(files, callback?): void

Upload and parse JSON keypair

Parameters

files: FileList

callback?: Function = ...

a function to handle the loaded file from the reader

Returns

void

Defined in

src/files/useFile.js:40

MIT