onFavoriteListDeleted( )


Notes:

Triggered when the dashboard favorite list is deleted.

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

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

JavaScript
import { favoriteList } from "@wix/dashboard-management"; favoriteList.onFavoriteListDeleted((event) => { // handle your event here });
Did this help?

onFavoriteListUpdated( )


Notes:

Triggered when the dashboard favorite list is updated.

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

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

JavaScript
import { favoriteList } from "@wix/dashboard-management"; favoriteList.onFavoriteListUpdated((event) => { // handle your event here });
Did this help?