Created
October 24, 2019 16:02
-
-
Save shopifypartners/5c6371cdd87956d5dbd0b444493bbbbe to your computer and use it in GitHub Desktop.
Initialize zoom with Drift – https://www.shopify.com/partners/blog/jquery-image-zoom
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
new Drift(document.querySelector('.image-zoom'), { | |
paneContainer: document.querySelector('.image-details') | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment