Javascript Event System - global-login-popup-display

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 found on all pages. It is fired immediately after the <body /> tag is opened.

Payload Parameters

triggeredBy
jQuery reference to the element that was clicked on to trigger the popup

Execution Interruption

none

Example

function onLoginPopupDisplay(data) {

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

} var newEventId = Ka.events.listen('login-popup-display', onLoginPopupDisplay);