企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
# Effect Core 由 jquery.ui.effect.js 提供的功能。除了下面列出的方法,jquery.ui.effect.js 还包括一些 [Easings](/easings/)。 Also in: [Effects](http://www.css88.com/jquery-ui-api/category/effects/ "View all posts in Effects") | [Method Overrides](http://www.css88.com/jquery-ui-api/category/overrides/ "View all posts in Method Overrides") ## .addClass() 当动画样式改变时,为匹配的元素集合内的每个元素添加指定的 Class。 ## Color Animation 使用 .animate() 实现颜色动画效果。 Also in: [Effects](http://www.css88.com/jquery-ui-api/category/effects/ "View all posts in Effects") | [Methods](http://www.css88.com/jquery-ui-api/category/methods/ "View all posts in Methods") ## .effect() 对一个元素应用动画特效。 Also in: [Effects](http://www.css88.com/jquery-ui-api/category/effects/ "View all posts in Effects") | [Method Overrides](http://www.css88.com/jquery-ui-api/category/overrides/ "View all posts in Method Overrides") | [Methods](http://www.css88.com/jquery-ui-api/category/methods/ "View all posts in Methods") ## .hide() 使用自定义效果来隐藏匹配的元素。 Also in: [Effects](http://www.css88.com/jquery-ui-api/category/effects/ "View all posts in Effects") | [Method Overrides](http://www.css88.com/jquery-ui-api/category/overrides/ "View all posts in Method Overrides") ## .removeClass() 当动画样式改变时,为匹配的元素集合内的每个元素移除指定的 Class。 Also in: [Effects](http://www.css88.com/jquery-ui-api/category/effects/ "View all posts in Effects") | [Method Overrides](http://www.css88.com/jquery-ui-api/category/overrides/ "View all posts in Method Overrides") | [Methods](http://www.css88.com/jquery-ui-api/category/methods/ "View all posts in Methods") ## .show() 使用自定义效果来显示匹配的元素。 Also in: [Effects](http://www.css88.com/jquery-ui-api/category/effects/ "View all posts in Effects") ## .switchClass() 当动画样式改变时,为匹配的元素集合内的每个元素添加和移除指定的 Class。 Also in: [Effects](http://www.css88.com/jquery-ui-api/category/effects/ "View all posts in Effects") | [Method Overrides](http://www.css88.com/jquery-ui-api/category/overrides/ "View all posts in Method Overrides") | [Methods](http://www.css88.com/jquery-ui-api/category/methods/ "View all posts in Methods") ## .toggle() 使用自定义效果来显示或隐藏匹配的元素。 Also in: [Effects](http://www.css88.com/jquery-ui-api/category/effects/ "View all posts in Effects") | [Method Overrides](http://www.css88.com/jquery-ui-api/category/overrides/ "View all posts in Method Overrides") ## .toggleClass() 当动画样式改变时,根据 Class 是否存在以及 switch 参数的值,为匹配的元素集合内的每个元素添加或移除一个或多个 Class。