DescriptionDescription
This event is triggered when the lightbox changes and updates item information.
ArgumentsArguments
Argument | Type | Description |
item | node | Node opened in the lightbox |
ExampleExample
JS
Grid settings – JS field
wpgb.lightbox.on( 'update', function( item ) {
console.log( 'update', item );
} );