2015-04-07 00:28:55 +00:00
|
|
|
define( [
|
|
|
|
"lib/common",
|
2015-07-15 02:12:14 +00:00
|
|
|
"ui/widgets/tooltip"
|
2015-04-07 00:28:55 +00:00
|
|
|
], function( common ) {
|
|
|
|
|
|
|
|
common.testWidget( "tooltip", {
|
2014-12-03 16:30:22 +00:00
|
|
|
defaults: {
|
|
|
|
classes: {
|
|
|
|
"ui-tooltip": "ui-corner-all ui-widget-shadow"
|
|
|
|
},
|
|
|
|
content: function() {},
|
|
|
|
disabled: false,
|
|
|
|
hide: true,
|
|
|
|
items: "[title]:not([disabled])",
|
|
|
|
position: {
|
|
|
|
my: "left top+15",
|
|
|
|
at: "left bottom",
|
|
|
|
collision: "flipfit flip"
|
|
|
|
},
|
|
|
|
show: true,
|
|
|
|
tooltipClass: null,
|
|
|
|
track: false,
|
|
|
|
|
2015-08-21 04:04:13 +00:00
|
|
|
// Callbacks
|
2014-12-03 16:30:22 +00:00
|
|
|
close: null,
|
|
|
|
create: null,
|
|
|
|
open: null
|
|
|
|
}
|
2015-08-24 12:50:46 +00:00
|
|
|
} );
|
2015-04-07 00:28:55 +00:00
|
|
|
|
|
|
|
} );
|