Bug Tracker

Opened 9 years ago

Closed 6 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])
400;".

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 6 years ago by john

  • Description modified (diff)
  • need set to Review
  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.