[Elements] are optional
Defined in
Effects/Slide/0.1/lib.js
Class SAPO.Effects.Slide
class
SAPO.Effects.Slide
Inclusion link: http://js.sapo.pt/SAPO/Effects/Slide/0.1/
Sample: http://js.sapo.pt/SAPO/Effects/Slide/sample/
Constructor Summary
Slide()
Function Summary
Slide an element down
Slide an element up
Function Details
function down
down(Object
el, Object
options)
Slide an element down
Parameters:
el
- target element
options
- animation options -
Number dur- duration in milliseconds -
Function after- Callback executed when the animation is finished
function up
up(Object
el, Object
options)
Slide an element up
Parameters:
el
- target element
options
- animation options -
Number dur- duration in milliseconds -
Function after- Callback executed when the animation is finished
requires SAPO.Effects.Core