Readonly
nameUpload a single resource into a component It is executed asynchronous and provides a Promise which resolves when the resource upload has been finished and rejects if the upload has failed.
upload state of the resource
MyResCmp.upload('screenshot', new File([], 'myfile.txt'));
Upload multiple resources into a component It is executed asynchronous and provides a Promise which resolves when the resource upload has been finished and rejects if the upload has failed.
upload state of the individual resources
MyResCmp.uploadMultiple({ screenshot: new File([], 'myfile.txt'));
Generated using TypeDoc
Represents a component of type
Resource
Can be used to upload data Requires a component where "user upload" is enabled (can be enabled when creating the component)