Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否有一个具有阻尼效果slideUp的jQuery插件?slideDown也就是说,大小的变化以相当快的速度开始,并在运动结束时减慢。
slideUp
slideDown
您可以传入缓动作为第二个参数...
$("#something").slideDown(500, "linear");
jQuery 包括swingand linear,前者是默认的。
swing
linear
要获得您描述的行为,请使用easeOutjQuery UI 中提供的 (您已标记问题)。
easeOut