Skip to content

Instantly share code, notes, and snippets.

@zackkatz
Created January 24, 2022 19:26
Show Gist options
  • Save zackkatz/a2844e9f6b68879e79ba7d6f66ba0850 to your computer and use it in GitHub Desktop.
Save zackkatz/a2844e9f6b68879e79ba7d6f66ba0850 to your computer and use it in GitHub Desktop.
GravityView - Add jQuery event handler for `gravityview/tab-ready` event
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