Skip to content

How to deal with sequence of scale and drag actions #933

@sunecosuri

Description

@sunecosuri

Environments

  • Framework name: VueMoveable
  • Framework version: 2.0.0-beta57
  • Moveable Component version: 0.43.1
  • Testable Address(optional):

Description

const transform = translate(${translate[0]}px, ${translate[1]}px) rotate(${rotate}deg) scale(${scale[0]}, ${scale[1]});

I would like to move and scale in succession similar to this issue.
I would like to use translate without using helper, how can I get the 'translate[]' and 'scale[]' value?
I could not find the above state even with movable.getRect() or onDragEvent.
A sample code of how to get it would be great!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcomplete

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions