Browsers don\'t take full path of local disc, instead they concatenate the filename with fakepath. Is there any way to access the file (image) from fakepath using typescript
Adding to @GünterZöchbauer answer, this wasn't working for me until I added this:
reader.onload = function(e:any){ this.url = e.target.result; }
Prior to adding 'any', I was getting the error:
property 'result' does not exist on type 'eventtarget'