Javascript Event System - profile-page-toggle-about-me

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 when the user toggles the About Me section of the profile

Payload Parameters

collapsed
(boolean) Represents the state of the About Me panel

Execution Interruption

If your event handler returns false, the execution will halt and the About Me section will not be toggled.

Example

function onAboutMeToggle(data) {

   // do something here
   console.log(data.collapsed);

} var newEventId = Ka.events.listen('profile-page-toggle-about-me', onAboutMeToggle);