Created
January 24, 2022 19:26
-
-
Save zackkatz/a2844e9f6b68879e79ba7d6f66ba0850 to your computer and use it in GitHub Desktop.
GravityView - Add jQuery event handler for `gravityview/tab-ready` event
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery( 'body' ).on( 'gravityview/tab-ready', function ( ui, panel ) { | |
// This will print the jQuery DOM element of the newly-activated tab | |
console.log( panel ); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment