Javascript Event System - group-page-after-join

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 join Ajax response is received.

Payload Parameters

success
(bool) Specifies if the group was joined successfully

Execution Interruption

none

Example

function onGroupPageAfterJoin(data) {

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

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