GWT 的动画和可视效果库 - VisualFox FX

openkk 13年前

VisualFox-FX 是一个 GWT 的动画和可视效果库,使用 CSS3 实现。主要特性:

  • 支持javascript 和 css3 两种风格的动画
  • Support hybrid mode (mixing javascript and css3 style animation)
  • Use the concept of channel which provide an extra layer of flexibility (daisy chain your animation)
  • Works directly with Element instead of Widget for additional flexibility
  • 支持所有浏览器
  • The javascript and hybrid mode are based on the GWT's Animation class
  • Pre-built effects like fade in, fade out and reveal
  • Simple

示例代码:

FXFade.range(DOM.getElementById("fox")).animate(2000);    //with call back  FXFade.range(DOM.getElementById("fox")).animate(2000).callback(new Command() {              @Override              public void execute() {                  System.out.println("Callback: effect ended");              }           });

项目主页:http://www.open-open.com/lib/view/home/1337564826964