onFileDescriptorFileReady( )


Notes:

Triggered when a file is ready to be used, after any post-upload processing.

This event is also triggred when a file is restored from the Media Manager's trash bin.

Permissions
Manage Bookings Services and Settings
Manage Media Manager
Read Media Manager
Manage Events
Access Verticals by Automations
Set Up Automations
Manage Portfolio
Manage Restaurants - all permissions
Learn more about app permissions.
Method Declaration
Copy
function onFileDescriptorFileReady(handler: function): void;
Method Parameters
handlerfunction

handler(event: FileDescriptorFileReadyEnvelope): void | Promise<void>

JavaScript
import { files } from "@wix/media"; files.onFileDescriptorFileReady((event) => { // handle your event here });
Did this help?