mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
effects.tests: Adding 'size' effect to the visual effect tests
This commit is contained in:
parent
116acb4cb2
commit
c73e40adbe
@ -145,6 +145,12 @@
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<div class="effect" id="size">
|
||||
<p>Size</p>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<div class="effect" id="slideDown">
|
||||
<p>Slide down</p>
|
||||
|
@ -61,6 +61,7 @@ $(function() {
|
||||
|
||||
effect("#puff", "puff", { times: 2 });
|
||||
effect("#scale", "scale", {});
|
||||
effect("#size", "size", { from: { width: 300, height: 300 }});
|
||||
|
||||
$("#shake").bind("click", function() { $(this).addClass("current").effect("shake", {}, 100, function() { $(this).removeClass("current"); }); });
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user