free-transform
free-transform copied to clipboard
Add support for "disableTranslate" to translate with top and left values instead of css transform>translate. (similar to disableScale)
Hey,
So I've been working with the library for a few days now. Its great !
I feel there is a need to add a "disableTranslate" option as well, so that the 'scale' and 'translate' functions will translate the element with 'top' and 'left' css values.
Most 'draggable' plugins use 'top' and 'left' values instead of translate, so its definitely helpful when migrating from a draggable implementation. Also, when there is an option to position an absolute div with 'left' and 'top' values, it is usually unnecessary to use translate.
Thank you for the awesome library.
Great point. I have similar problem implementing it inside my code.