+ Start a Discussion
Andy Freeston_LarterAndy Freeston_Larter 

Calling createObjectURL in LWC

Hi, My application needs to be able to export an image to disk and I am currently using createObjectURL to convert a Blob to an image file that can then be saved.

When I try this in LWC I get an ‘Unexpected identifier’ error in the LockerService proxy.

Is converting Blob to file with createObjectURL something that the proxy will ever support?