mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-12-07 06:14:24 +00:00
bde431bb44
Ref gh-1528
31 lines
467 B
JavaScript
31 lines
467 B
JavaScript
define( [
|
|
"lib/common",
|
|
"ui/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,
|
|
track: false,
|
|
|
|
// callbacks
|
|
close: null,
|
|
create: null,
|
|
open: null
|
|
}
|
|
});
|
|
|
|
} );
|