DescriptionDescription
This event is triggered when dragging moves and the lightbox moves.
ArgumentsArguments
Argument | Type | Description |
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 );
} );