Javascript Event System - group-page-after-leave

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 the group leave Ajax response is received.

Payload Parameters

success
(bool) Specifies if the group was left successfully

Execution Interruption

none

Example

function onGroupPageAfterLeave(data) {

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

} var newEventId = Ka.events.listen('group-page-after-leave', onGroupPageAfterLeave);