我应该将哪个效果库与 GWT 集成?
我很好奇是否有人对不同的选择进行了比较。 到目前为止,我倾向于使用 Moo.fx,因为仅仅为了使用 scriptaculous 加载prototype.js 似乎有点多了。 那有意义吗? 还有其他值得尝试的效果库吗? 谢谢。
I am curious if anyone has done a comparison between the different options out there. So far I am leaning towards using Moo.fx because loading prototype.js just to use scriptaculous seems a bit much. Does that make sense? Are there any other effects libraries worth trying? Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(7)
“Smart GWT”具有有趣的效果,尤其是模仿桌面项目。 我通过展示柜:
智能 GWT 展示
"Smart GWT" has interesting effects, especially to mimic desktop items. I pass the ShowCase:
Smart GWT Showcase
Ext GWT
Ext GWT
我使用 gwt-query,它是 gwt 的 jquery 克隆。
如果你已经了解 jquery 它是一个自然选择。 如果没有,一些简单效果的学习曲线非常快(项目网站上有很多示例)。
I use gwt-query, which is a jquery clone for gwt.
if you already know jquery its a natural selection. if not, the learning curve for some simple effects is pretty fast (lots of examples on the project's site).
我参与了库 VisualFox-FX 的测试,我现在使用它而不是 gwt-fx以前在我的项目中使用过。 VisualFox-FX 支持基于 JavaScript 和 CSS3 的动画,并具有大量预置效果。 它还允许组合多种效果来构建您需要的“复杂”效果。
I participated in testing of library VisualFox-FX which I use now instead of gwt-fx previously utilized in my project. VisualFox-FX supports both javascript and CSS3 based animation and has lots of pre-built effects. It also allows to combine many effects to build the "complex" one you need.
moo.fx 或 Rico 应该可以完成这项工作...
moo.fx or Rico should do the job...
我找到了推荐的 JS 库的可行替代方案 - 一个名为 的 GWT 原生 Java 库GWT-FX 由 Adam Tacy 开发。 它的一些功能包括内置效果(淡入淡出、滑动、突出显示)、物理过渡类型(线性、缓入/缓出、弹性)以及通过指定 CSS 规则或“属性”(声明)构建您自己的效果的能力。
查看 Google 代码 wiki 和/或 演示页面了解更多信息。
I've found a viable alternative to the recommended JS libraries -- a GWT-native Java library called GWT-FX developed by Adam Tacy. Some of its features include built-in effects (Fade, Slide, Highlight), physics transition types (linear, ease in/out, elastic), and the ability to build your own effects by specifying CSS rules or "properties" (declarations).
Check out the google code wiki and/or demo pages for more info.
我会推荐 jquery。 它很小,可以通过 Google 作为 ajax 库 API 进行访问,而且速度很快。
I would recommend jquery. It's small, accessible from Google as an ajax library API, and its speedy.