Javascript Event System - profile-page-before-load-comments
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 before retrieving and displaying profile comments
Payload Parameters
- offset
- (number) The offset to start at
- limit
- (number) Amount of comments to load
Execution Interruption
- If your event handler returns false, the execution will halt and no comments will be retrieved and displayed
Example
function onBeforeLoadComments(data) {
// do something here console.log(data.offset, data.limit)
} var newEventId = Ka.events.listen('profile-page-before-load-comments', onBeforeLoadComments);
Favorites






