Bug Tracker

Modify

Ticket #890 (closed enhancement: fixed)

Opened 7 years ago

Last modified 4 years ago

Documentation enhancement

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

Description (last modified by john) (diff)

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

comment:1 Changed 4 years ago by john

  • need set to Review
  • Status changed from new to closed
  • Resolution set to fixed
  • Description modified (diff)

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.