Open ramcrys opened 5 years ago
Well, actually this behaviour should be possible by just adding cdkDrag to your modal window.
See: https://material.angular.io/cdk/drag-drop/overview
cdk is maintained by Angular Material but you do not have to use material design at all. Just import the @angular/cdk/drag-drop
module and you are good to go.
Hi everyone, I have a question about a feature of ngx-modialog (not sure if it exists or not, so this is just a question) Is it possible in ngx-modialog to move the modal once it's opened ? In particular, when cursor is near the top of the modal header, an icon appears that shows that it's movable, and we can click on that to move the modal around the page.
Environment:
Thanks in advance.