onStaffMemberDeleted( )


Notes:

Triggered when a staff member is deleted.

Method Declaration
Copy
function onStaffMemberDeleted(handler: function): void;
Method Parameters
handlerfunction

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

JavaScript
import { staffMembers } from "@wix/events"; staffMembers.onStaffMemberDeleted((event) => { // handle your event here });
Did this help?