This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
How to create File object in AngularJS ? #16924
Closed
Description
In javascript it is very simple to create file object just like that :
var assetLocalPath="C:/Users/Pictures/flower..jpg";
var file = new File([""],assetLocalPath);
alert(file);
It will alert [object File]
Same as above I would like to create in AngularJS, but I am getting an error " TypeError: File constructor cannot be called in nwdisabled frame "
Please suggest some solution for AngularJS.
Metadata
Metadata
Assignees
Labels
No labels