moveable
moveable copied to clipboard
Customize moveable rotate handler styling
Environments
- Framework name: Vue
- Framework version: Vue 2
- Moveable Component version:
- Testable Address(optional):
Description
Hi! I love using moveable as it currently can cover most of the element editing scenarios that we need.
For the design, our UX team request if we can style the handler like this:
We need to move the "rotatable" handler to the bottom and style it differently. Is this possible?
@chenxeed
Yes. it's possible.
Try using rotatationTarget.
https://codepen.io/daybrush/pen/OJWKdmP
@chenxeed
Yes. it's possible.
Try using rotatationTarget.
https://codepen.io/daybrush/pen/OJWKdmP
How to do the same in Vanilla JS? I tried setting rotationTarget but nothing changed.
@goodwin74
What value did you set rotationTarget to?