2015-04-07 00:28:55 +00:00
|
|
|
define( [
|
|
|
|
"lib/common",
|
|
|
|
"ui/tooltip"
|
|
|
|
], function( common ) {
|
|
|
|
|
|
|
|
common.testWidget( "tooltip", {
|
2011-04-25 18:04:30 +00:00
|
|
|
defaults: {
|
2014-12-03 16:30:22 +00:00
|
|
|
classes: {
|
|
|
|
"ui-tooltip": "ui-corner-all ui-widget-shadow"
|
|
|
|
},
|
2011-05-29 00:19:23 +00:00
|
|
|
content: function() {},
|
2011-04-25 18:04:30 +00:00
|
|
|
disabled: false,
|
2011-05-30 22:27:48 +00:00
|
|
|
hide: true,
|
2012-10-13 00:26:47 +00:00
|
|
|
items: "[title]:not([disabled])",
|
2011-04-25 18:04:30 +00:00
|
|
|
position: {
|
2012-10-23 19:07:19 +00:00
|
|
|
my: "left top+15",
|
|
|
|
at: "left bottom",
|
2012-11-05 18:07:03 +00:00
|
|
|
collision: "flipfit flip"
|
2011-04-25 18:04:30 +00:00
|
|
|
},
|
2011-05-30 22:27:48 +00:00
|
|
|
show: true,
|
2012-06-13 23:02:11 +00:00
|
|
|
track: false,
|
2010-04-15 07:45:35 +00:00
|
|
|
|
2011-04-25 18:04:30 +00:00
|
|
|
// callbacks
|
2011-05-30 22:27:48 +00:00
|
|
|
close: null,
|
|
|
|
create: null,
|
|
|
|
open: null
|
2010-04-15 07:45:35 +00:00
|
|
|
}
|
2011-04-25 18:04:30 +00:00
|
|
|
});
|
2015-04-07 00:28:55 +00:00
|
|
|
|
|
|
|
} );
|