HTML5 Viewer SDK API Documentation 

Namespaces


Class Index

Classes in s7sdk.event

Class s7sdk.event.ZoomPanEvent

Dispatched by NavigationView when the user has moved the view rectangle.

Class Summary
Constructor Attributes Constructor Name and Description
 
s7sdk.event.ZoomPanEvent(type, dx, dy, bubbles)
Field Summary
Field Attributes Field Name and Description
<static>  
s7sdk.event.ZoomPanEvent.ACT_ZOOM_NPAN
Defines a value of the type property of an actZoomNPan event object.
<static>  
s7sdk.event.ZoomPanEvent.ACT_ZOOM_PAN
Defines a value of the type property of an actZoomPan event object.
<static>  
s7sdk.event.ZoomPanEvent.NOTF_ZOOM_NPAN
Event dispatched whenever the user drags to pan the current image view port.
<static>  
s7sdk.event.ZoomPanEvent.NOTF_ZOOM_PAN
Event dispatched when the user drags to pan the current image view port.
Class Detail
s7sdk.event.ZoomPanEvent(type, dx, dy, bubbles)
Parameters:
{String} type
Event type from DOM.
{Number} dx
Horizontal change in viewport.
{Number} dy
Vertical change in viewport.
{Boolean} bubbles
Determines if the event bubbles.
See:
s7sdk.image.NavigationView
s7sdk.image.ZoomView
s7sdk.set.SpinView
Field Detail
<static> s7sdk.event.ZoomPanEvent.ACT_ZOOM_NPAN
Defines a value of the type property of an actZoomNPan event object. The displacement values for this event are in resolution independent image coordinates where the image upper-left corner is at 0,0 and the lower-right corner is at 1,1.

<static> s7sdk.event.ZoomPanEvent.ACT_ZOOM_PAN
Defines a value of the type property of an actZoomPan event object. The displacement values for this event are in component coordinates.

<static> s7sdk.event.ZoomPanEvent.NOTF_ZOOM_NPAN
Event dispatched whenever the user drags to pan the current image view port. Defines a value of the type property of a notfZoomNPan event object. The displacement values for this event are in component coordinates.

<static> s7sdk.event.ZoomPanEvent.NOTF_ZOOM_PAN
Event dispatched when the user drags to pan the current image view port. Defines a value of the type property of a notfZoomPan event object. The image upper-left corner is at 0,0 and the lower-right corner is at 1,1.

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Oct 15 2020 11:59:12 GMT-0000 (UTC)