loadFromFile(file) Method

Summary

Attempts to load a file from a Blob or File object.

Syntax

TypeScript
JavaScript
loadFromFile = function(file) 
loadFromFile(file: Blob | File): void; 

Parameters

file

The uploaded resource to load.

Remarks

The file will be routed to the appropriate registry based off the Content-Type for the resource. If no registry exists for the Content-Type of the resource, or if there is no default registry handler, an error will be thrown.

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.