Methods
(function) data()
Method data
(method) backward()
Moves the image viewer backward to the previous image.
(method) compassChanged()
Method compassChanged
(method) downloadImage()
Downloads the image.
(method) forward()
Moves the image viewer forward to the next image.
(method) handleDefaultDragStart(event)
Handles the drag start event for the default drag behavior.
Parameters:
Name | Type | Description |
---|---|---|
event |
Event | The drag start event. |
(method) handleDragEnd(event)
Handles the drag end event.
Parameters:
Name | Type | Description |
---|---|---|
event |
Event | The drag end event. |
(method) handleDragMove(event)
Handles the drag move event.
Parameters:
Name | Type | Description |
---|---|---|
event |
Event | The drag move event. |
(method) handleDragStart(event)
Handles the drag start event.
Parameters:
Name | Type | Description |
---|---|---|
event |
Event | The drag start event. |
(method) handleSelectStart(event)
Handles the select start event.
Parameters:
Name | Type | Description |
---|---|---|
event |
Event | The select start event. |
(method) handleZoom(event)
Handles the zoom event.
Parameters:
Name | Type | Description |
---|---|---|
event |
Event | The zoom event. |
(method) load()
Loads the image from the server.
(method) onTouchEnd()
Method onTouchEnd
(method) onTouchMove()
Method onTouchMove
(method) onTouchStart()
Method onTouchStart
(method) reset()
Method reset
(method) shouldChangeImage()
Method shouldChangeImage
(method) transform()
Sets CSS image transformation depending on scale and drag.
(function) mounted()
Method mounted