aboutsummaryrefslogtreecommitdiffstats
path: root/tests/visual/tooltip/tooltip.html
diff options
context:
space:
mode:
authorAlexander Schmitz <arschmitz@gmail.com>2014-12-03 11:30:22 -0500
committerAlexander Schmitz <arschmitz@gmail.com>2015-03-11 16:05:33 -0400
commit9d71547394f9464e5af1f0c77e56917d0ba5abb6 (patch)
treec26d5d586c47ecfdf40d07acb22cf30f8706a9e8 /tests/visual/tooltip/tooltip.html
parentaaddfbfa8b3bdb0374540d7dd1e13a708bdb00aa (diff)
downloadjquery-ui-9d71547394f9464e5af1f0c77e56917d0ba5abb6.tar.gz
jquery-ui-9d71547394f9464e5af1f0c77e56917d0ba5abb6.zip
Tooltip: Add classes option
Ref #7053 Ref gh-1411
Diffstat (limited to 'tests/visual/tooltip/tooltip.html')
-rw-r--r--tests/visual/tooltip/tooltip.html12
1 files changed, 9 insertions, 3 deletions
diff --git a/tests/visual/tooltip/tooltip.html b/tests/visual/tooltip/tooltip.html
index 8d5364d78..034021cd8 100644
--- a/tests/visual/tooltip/tooltip.html
+++ b/tests/visual/tooltip/tooltip.html
@@ -22,10 +22,14 @@
// custom class, replaces ui-widget-content
$( "#context2" ).tooltip({
- tooltipClass: "ui-widget-header"
+ classes: {
+ "ui-tooltip": "ui-corner-all ui-widget-header"
+ }
});
$( "#right1" ).tooltip({
- tooltipClass: "ui-state-error"
+ classes: {
+ "ui-tooltip": "ui-corner-all ui-state-error"
+ }
});
// synchronous content
@@ -63,7 +67,9 @@
// custom position
$( "#right2" ).tooltip({
- tooltipClass: "ui-state-highlight",
+ classes: {
+ "ui-tooltip": "ui-corner-all ui-state-highlight"
+ },
position: {
my: "center top",
at: "center bottom+10"