angular-dialog-service
angular-dialog-service copied to clipboard
how can I make the dialog draggable?
Hi there, I would like for the user to be able to drag / move the dialog around the screen. How can I do this?
I created a directive attached the dialogs class, which just adds the draggable jq handler.
.directive('modalDialog', function(){
return {
restrict: "C",
link: function(scope, element, attrs){
element.draggable({
handle: ".modal-header"
})
}
};
});
Thank you William!
@wcomartin where is jq handler
@sjuranek where is jq handler thanks
hello
sorry about the delayed response, but its part of JqueryUI https://jqueryui.com/draggable/