This page illustrates two simple implementation of the library.
See full documentation on GitHub.
Basic usage
Try to zoom with your mouse wheel and drag on the below image.
Fired event: ""
Event handling
This example shows a simple implementation of event handling:
- if you zoom one of the image, the same zoom level is applied to the other one;
- if you drag on one of the image, the same drag is applied to the other one.
- if you drag on one of the image, the same drag is applied to the other one, WHEN DRAG IS ENDEND.