Opened 12 years ago

Closed 12 years ago

#7704 closed feature (wontfix)

uiDialog.draggable: override containment and scroll options

Reported by: binduck Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.dialog Version: 1.8.16
Keywords: Cc:
Blocked by: Blocking:

Description

In ui.dialog.makeDraggable, when calling uiDialog.draggable method, it could be very useful to override containement and scroll options.

        options: {
             .....
             draggable: true,
             draggableOpts: {
                scroll: true,
                containment: 'document'
             },
             .....
         },
         .....
         .....
	self.uiDialog.draggable({
            cancel: '.ui-dialog-content, .ui-dialog-titlebar-close',
            handle: '.ui-dialog-titlebar',
            containment: options.draggable.containment,
            scroll: options.draggable.scroll,

Change History (1)

comment:1 Changed 12 years ago by Scott González

Resolution: wontfix
Status: newclosed

We don't expose any plugin's full API through another plugin. If we expose all of these options, dialog's API would instantly triple in size. If you need more control over your dialogs, you should use the dialog plugin directly.

Version 0, edited 12 years ago by Scott González (next)
Note: See TracTickets for help on using tickets.