Comments (1)
Hi PsychoXIVI,
EasyPZ is actually working properly there - it's calling your callback function with translate properties, and letting you use them however you like. You're just not using it even though you're using the manual mode of easypz.
If you just want EasyPZ to automatically apply a transformation to your elements, I recommend using either the automatic mode that does not use JS, or basically do the same thing via JS: https://jsfiddle.net/michaschwab/ewnf3dsr/12/
If you want to set your own transformation on the elements manually, you can do it like this: https://jsfiddle.net/michaschwab/ewnf3dsr/15/
Best of luck!
from easypz.
Related Issues (20)
- problems resizing HOT 2
- EasyPZ - Is there a way to update the transform object? HOT 2
- Update bounds on the fly HOT 1
- Programmatically detach EasyPZ HOT 3
- Remove Pan and Zoom Methods from Element HOT 1
- Bounds only respects initial zoom
- Module version for use with "import" HOT 4
- 1.1.11 is broken? HOT 1
- Going from touch to mouse HOT 2
- Touch interactions are broken HOT 1
- Play lottie animation HOT 2
- There is no exmpale for transforming webgl canvas
- Please add zoomTo and panTo HOT 2
- zoom is unusably faster in chrome than ff HOT 6
- License HOT 1
- HTML zooming leads to incorrect translate values HOT 3
- Does it work on html elements HOT 3
- EasyPZ enabling constructor not working HOT 3
- Using with canvas and in react HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from easypz.