I use the aurelia-dialog extensively across my project. However, I can’t work out how to make it draggable. All I want to do is to be able to drag it out of the way of the main page where it is invariably obscuring information that I need for the dialog.
All the draggable tutorials I’ve looked at refer to drag-destination, implying that I need to predefine the container that I am dragging into.
I’m just looking to emulate the behaviour of regular windows.
Could someone please point me in the right direction?
I just took a quick look at hammertime. I guess I would want to create a custom attribute to add to the dialog? I don’t even know where to start!
Do you have any example code that could give me a pointer in the right direction?
I also noticed on their home page that if you drag the white box, when you release the mouse it returns to its starting place. I want the dragged content to remain where I dragged it to. Is this possible?