“慢”、“正常”和“快”在 jQuery 中代表多少毫秒?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/3738354/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-26 16:00:19  来源:igfitidea点击:

How many milliseconds do "slow", "normal", and "fast" represent in jQuery?

jqueryanimationeffectsjquery-effects

提问by Matt Huggins

jQuery allows use of the string values "slow", "normal", and "fast" in animations (e.g.: $('#example').fadeOut('slow');). How many milliseconds do each of these values represent?

jQuery 允许在动画中使用字符串值“slow”、“normal”和“fast”(例如:)$('#example').fadeOut('slow');。这些值中的每一个代表多少毫秒?

回答by Nikita Rybak

600, 400 and 200, respectively "slow", "normal", "fast". All in the docs

600、400 和 200,分别是“慢”、“正常”、“快”。全部在文档中

回答by Gazler

600ms, 400ms and 200ms respectively.

分别为 600ms、400ms 和 200ms。

Source

来源

回答by Maksim Vi.

I would be original and answer 600, 400, 200 respectively. Since higher number of milliseconds means slower speed =) All in the source

我会是原创的,分别回答 600、400、200。因为更高的毫秒数意味着更慢的速度 =)全部在源中