mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-22 13:16:10 +03:00
Doc minor fix and trailing space removed
This commit is contained in:
parent
0bdc2df8ff
commit
ed169086e7
@ -428,7 +428,7 @@ function onCanvasDrag( event ) {
|
|||||||
preventDefaultAction: event.preventDefaultAction
|
preventDefaultAction: event.preventDefaultAction
|
||||||
};
|
};
|
||||||
/**
|
/**
|
||||||
* Raised when a click event occurs on the {@link OpenSeadragon.Viewer#navigator} element.
|
* Raised when a drag event occurs on the {@link OpenSeadragon.Viewer#navigator} element.
|
||||||
*
|
*
|
||||||
* @event navigator-drag
|
* @event navigator-drag
|
||||||
* @memberof OpenSeadragon.Viewer
|
* @memberof OpenSeadragon.Viewer
|
||||||
@ -444,7 +444,6 @@ function onCanvasDrag( event ) {
|
|||||||
* @property {?Object} userData - Arbitrary subscriber-defined object.
|
* @property {?Object} userData - Arbitrary subscriber-defined object.
|
||||||
* @property {Boolean} preventDefaultAction - Set to true to prevent default click to zoom behaviour. Default: false.
|
* @property {Boolean} preventDefaultAction - Set to true to prevent default click to zoom behaviour. Default: false.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
this.viewer.raiseEvent('navigator-drag', canvasDragEventArgs);
|
this.viewer.raiseEvent('navigator-drag', canvasDragEventArgs);
|
||||||
|
|
||||||
if ( !canvasDragEventArgs.preventDefaultAction && this.viewer.viewport ) {
|
if ( !canvasDragEventArgs.preventDefaultAction && this.viewer.viewport ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user