Lightbox close

DescriptionDescription

This event is triggered before the lightbox closes.

ArgumentsArguments

ArgumentTypeDescription
item node Node opened in the lightbox

ExampleExample

JS
Grid settings – JS field
wpgb.lightbox.on( 'close', function( item ) {

	console.log( 'close', item );

} );