onFolderUpdated( )


Notes:

Triggered when a folder is updated, including when a folder is moved to a different parent folder.

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 onFolderUpdated(handler: function): void;
Method Parameters
handlerfunction

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

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