Bug Tracker

Opened 16 years ago

Closed 13 years ago

#890 closed enhancement (fixed)

Documentation enhancement

Reported by: Gerry Danen Owned by:
Priority: minor Milestone:
Component: docs Version:
Keywords: slide animation Cc:
Blocked by: Blocking:

Description (last modified by john)

I have been trying to figure out what the speed parameter can be, besides "slow" and "fast".

slideUp, slideDown, slideToggle all accept a string or number, and pass that on to .animate. Digging in the jquery.js source, I found

"slow: 600, fast: 200 }[opt.duration])

Would it be useful to document this such as the API browser? I had no clue that this referred to milliseconds...

Jörn suggested I post this here.

Change History (1)

comment:1 Changed 13 years ago by john

Description: modified (diff)
need: Review
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.