make bootstrap twitter dialog modal draggable

后端 未结 9 2202
野性不改
野性不改 2021-01-30 08:43

I\'m trying to make bootstrap twitter dialog modal draggable with this jquery plugin:

http://threedubmedia.com/code/event/drag#demos

but it doesn\'t work.

<
9条回答
  •  野的像风
    2021-01-30 09:00

    In my case I am enabling draggable. It works.

    var bootstrapDialog = new BootstrapDialog({
        title: 'Message',
        draggable: true,
        closable: false,
        size: BootstrapDialog.SIZE_WIDE,
        message: 'Hello World',
        buttons: [{
             label: 'close',
             action: function (dialogRef) {
                 dialogRef.close();
             }
         }],
    });
    bootstrapDialog.open();
    

    Might be it helps you.

提交回复
热议问题