Drag and Drop and Resize in Angular

Asked

Viewed 149 times

0

You can combine the Angular Material drag and drop feature (cdkDrag) with resizing?

I tried using css, but it didn’t work, there’s another way?

Example:

app.component.html

<div class="drag-drop" cdkDrag>

Minha DIV

</div>

app.component.css

.drag-drop{
  width:320px;
  border:1px solid green;
  background:#ccc;
  resize:both;
  overflow:auto;
}

1 answer

0


Browser other questions tagged

You are not signed in. Login or sign up in order to post.