Moveable: Show rotated value of element when rotating start for changing???

Created on 27 Mar 2020  路  2Comments  路  Source: daybrush/moveable

##

) Environments

  • Framework name: ReactJS
  • Framework version: "react": "^16.13.0"
  • Moveable Component version: 0.18.1
  • Testable Address(optional):

Description


I want to show rotation along with rotation icon ,but it hide rotation icon and show the value of currently rotation

React question solved

Most helpful comment

Thanks for so quick response and for answer too and did the great work to proved such package to help others,God bless you,
stay home stay safe dear.

All 2 comments

@Nazakatalikharal

Use the dist parameter.

<Moveable
onRotate={({ dist }) => console.log(dist)}
/>

Thanks for so quick response and for answer too and did the great work to proved such package to help others,God bless you,
stay home stay safe dear.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jiseopX picture jiseopX  路  4Comments

copthuy picture copthuy  路  4Comments

pistell picture pistell  路  4Comments

jameschetwood picture jameschetwood  路  6Comments

MiiZZo picture MiiZZo  路  3Comments