Lightbox dragMove

DescriptionDescription

This event is triggered when dragging moves and the lightbox moves.

ArgumentsArguments

ArgumentTypeDescription
event object Original event object
distance object Vector distances (x, y) of the pointer

ExampleExample

JS
Grid settings – JS field
wpgb.lightbox.on( 'dragMove', function( event ) {

	console.log( 'dragMove', event, distance );

} );