| 1 | define( [ |
| 2 | "lib/common", |
| 3 | "ui/widgets/tooltip" |
| 4 | ], function( common ) { |
| 5 | |
| 6 | common.testWidget( "tooltip", { |
| 7 | defaults: { |
| 8 | classes: { |
| 9 | "ui-tooltip": "ui-corner-all ui-widget-shadow" |
| 10 | }, |
| 11 | content: function() {}, |
| 12 | disabled: false, |
| 13 | hide: true, |
| 14 | items: "[title]:not([disabled])", |
| 15 | position: { |
| 16 | my: "left top+15", |
| 17 | at: "left bottom", |
| 18 | collision: "flipfit flip" |
| 19 | }, |
| 20 | show: true, |
| 21 | track: false, |
| 22 | |
| 23 | // Callbacks |
| 24 | close: null, |
| 25 | create: null, |
| 26 | open: null |
| 27 | } |
| 28 | } ); |
| 29 | |
| 30 | } ); |