daybrush / moveable

Moveable! Draggable! Resizable! Scalable! Rotatable! Warpable! Pinchable! Groupable! Snappable!
https://daybrush.com/moveable/
MIT License
9.92k stars 612 forks source link

Display controls only when the element is selected (clicked) #666

Closed ghominejad closed 2 years ago

ghominejad commented 2 years ago

Environments

Description

By default all controls are shown on the all elements on the page but I need them to be shown only when an element is active (user clicked on it);

Thank you

JigarPrajpati commented 1 year ago

How you solved this issue sir in vanila javascript?

ghominejad commented 1 year ago

@JigarPrajpati By the selecto tool