vue-draggable-resizable icon indicating copy to clipboard operation
vue-draggable-resizable copied to clipboard

Activate only via event

Open f0ursqu4r3 opened this issue 4 years ago • 1 comments

Would like to know if it is possible to only show the resize handles if the element is activated externally. As it is now, the handles show if the element is clicked, even when draggable and resizeable are inactive.

f0ursqu4r3 avatar Mar 21 '21 01:03 f0ursqu4r3

Example from here: https://mauricius.github.io/vue-draggable-resizable/?path=/story/basic--basic-component-not-resizable

// Instead of "false" use some variable
<vue-draggable-resizable :resizable="false">
  <p>Basic component that is not resizable.</p>
</vue-draggable-resizable>

Set :resizable by default to "false" and change to "true" when you need.

TitanFighter avatar Mar 23 '21 14:03 TitanFighter