ドキュメント

API/1.3/Effects

From jQuery JavaScript Library

(Redirected from Effects)
Jump to: navigation, search

NameType
Basics:
NameType
show( )Returns: jQuery
Displays each of the set of matched elements if they are hidden.
show( speed, callback )Returns: jQuery
Show all matched elements using a graceful animation and firing an optional callback after completion.
hide( )Returns: jQuery
Hides each of the set of matched elements if they are shown.
hide( speed, callback )Returns: jQuery
Hide all matched elements using a graceful animation and firing an optional callback after completion.
toggle( )Returns: jQuery
Toggle displaying each of the set of matched elements.
toggle( switch )Returns: jQuery
Toggle displaying each of the set of matched elements based upon the switch (true shows all elements, false hides all elements).
toggle( speed, callback )Returns: jQuery
Toggle displaying each of the set of matched elements using a graceful animation and firing an optional callback after completion.
Sliding:
NameType
slideDown( speed, callback )Returns: jQuery
Reveal all matched elements by adjusting their height and firing an optional callback after completion.
slideUp( speed, callback )Returns: jQuery
Hide all matched elements by adjusting their height and firing an optional callback after completion.
slideToggle( speed, callback )Returns: jQuery
Toggle the visibility of all matched elements by adjusting their height and firing an optional callback after completion.
Fading:
NameType
fadeIn( speed, callback )Returns: jQuery
Fade in all matched elements by adjusting their opacity and firing an optional callback after completion.
fadeOut( speed, callback )Returns: jQuery
Fade out all matched elements by adjusting their opacity to 0, then setting display to "none" and firing an optional callback after completion.
fadeTo( speed, opacity, callback )Returns: jQuery
Fade the opacity of all matched elements to a specified opacity and firing an optional callback after completion.
Custom:
NameType
animate( params, durationeasingcallback )Returns: jQuery
A function for making custom animations.
animate( params, options )Returns: jQuery
A function for making custom animations.
stop( clearQueuegotoEnd )Returns: jQuery
Stops all the currently running animations on all the specified elements.
Settings:
NameType
jQuery.fx.offReturns: Boolean
Globally disable all animations.