Syntaxvar dataUrl = FileReaderSync.readAsDataURL(object);
- object [in]
Type: Blob or File
- dataUrl [out, retval]
This method synchronously reads the contents of the specified File or Blob. When the read operation is complete, the readyState property is set to DONE and the onloadend event is fired. The method will return a data URL string that encodes the data that was read.
Build date: 11/17/2013