Search and Top Navigation
#7704 closed feature (wontfix)
Opened September 08, 2011 11:34AM UTC
Closed September 08, 2011 11:54AM UTC
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,
Attachments (0)
Change History (1)
Changed September 08, 2011 11:54AM UTC by comment:1
_comment0: | 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. → 1315483076117591 |
---|---|
resolution: | → wontfix |
status: | new → closed |
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 draggable plugin directly.