Javascript Event System - play-page-before-remove-favorite
From KickApps Documentation
This article pertains to the Javascript Event System. You can refer to our list of Javascript Event System Supported Events to learn what else you can do with our event system.
Contents |
Summary
- This event is fired after a member clicks "Remove from Favorites" and before the request is submitted.
Payload Parameters
- none
Execution Interruption
- If your event handler returns false, the execution will halt and the media will not be removed from the users favorites.
Example
function onBeforeRemoveFavorite() {
// do something here
} var newEventId = Ka.events.listen('play-page-before-remove-favorite', onBeforeRemoveFavorite);
Favorites






