We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9066a0b commit 7a267e2Copy full SHA for 7a267e2
tests/unit/slider/slider_core.js
@@ -27,4 +27,12 @@
27
same( slider.attr('min'), "10", "slider min is greater than 0" );
28
same( slider.val( '' ).slider( 'refresh' ).val(), slider.attr('min'), "val is equal to min attr");
29
});
30
+
31
+ test( "flip toggle switch title should be current selected value attr", function() {
32
+ var slider = $( "#slider-switch" );
33
34
+ same(slider.siblings(".ui-slider").find("a").attr('title'),
35
+ $(slider.find("option")[slider[0].selectedIndex]).text(),
36
+ "verify that the link title is set to the selected option text");
37
+ });
38
})( jQuery );
0 commit comments