mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-12-23 01:24:22 +00:00
a0892eca70
Ref #14246
32 lines
498 B
JavaScript
32 lines
498 B
JavaScript
define( [
|
|
"lib/common",
|
|
"ui/widgets/tooltip"
|
|
], function( common ) {
|
|
|
|
common.testWidget( "tooltip", {
|
|
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,
|
|
|
|
// Callbacks
|
|
close: null,
|
|
create: null,
|
|
open: null
|
|
}
|
|
} );
|
|
|
|
} );
|