moveable icon indicating copy to clipboard operation
moveable copied to clipboard

Highly customized rotation dot?

Open YGYOOO opened this issue 6 years ago • 4 comments

Environments

  • Framework name: react
  • Framework version: 16.9
  • Moveable Component version: 0.20.8

Description

I want to replace the rotation dot to an icon and put it to the top right corner, like this: image Is there a way to do that? Can I make any element as a rotation dot?

YGYOOO avatar Jun 11 '20 10:06 YGYOOO

@YGYOOO

Sorry there is no top-right rotation yet. Only top, right, bottom, left.

I will add this feature.

daybrush avatar Jun 14 '20 09:06 daybrush

@YGYOOO

Sorry there is no top-right rotation yet. Only top, right, bottom, left.

I will add this feature.

That would be great, thanks.

YGYOOO avatar Jun 15 '20 12:06 YGYOOO

@YGYOOO

moveable's new version is released.

  • moveable 0.18.3
  • react-moveable 0.21.4
  • preact-moveable 0.20.5
  • ngx-moveable 0.14.1
  • svelte-moveable 0.9.1

https://daybrush.com/moveable/storybook/?path=/story/basic--rotatable

daybrush avatar Jul 14 '20 09:07 daybrush

@daybrush Any chance we could replace the rotation dot with a React component? Mainly because i'd like to add an icon to the dot

schester44 avatar Jul 23 '20 19:07 schester44