Javascript Event System - play-page-after-remove-favorite

From KickApps Documentation

Jump to: navigation, search

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 removes a media item to their favorites.

Payload Parameters

success
(boolean) Result of the request to remove the media item from the member's favorites.

Execution Interruption

none

Example

function onAfterRemoveFavorite(success) {

   // do something here
   console.log(data.success)

} var newEventId = Ka.events.listen('play-page-after-remove-favorite', onAfterRemoveFavorite);