【问题标题】:search results filter effects - flex搜索结果过滤效果 - flex
【发布时间】:2010-03-12 20:03:05
【问题描述】:

我创建了一个带有几个组合框的搜索,允许用户过滤他们的搜索结果。

结果目前是使用一个TileList & itemRenderer来展示的,现在我想在用户过滤他们的结果时添加一个动画效果。

我知道您可以使用 itemsChangeEffect 在用户拖动和移动结果项目时创建动画效果。

所以我想知道是否有一种方法可以创建由组合框上的过滤触发的类似效果?

谢谢。

【问题讨论】:

    标签: apache-flex search animation filtering effects


    【解决方案1】:

    我最后说了一点。

    通过使用两种状态,我能够实现我想要的外观。只是使用了一些简单的 if 语句和转换的状态变化。

                if (this.currentState == 's1'){
                    this.currentState = 's2';
                } else if (this.currentState == 's2'){
                    this.currentState = 's1';
                }
                acData.refresh();
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2013-02-02
      • 2012-07-05
      • 2017-05-17
      • 1970-01-01
      • 1970-01-01
      • 2019-06-06
      • 2020-04-07
      相关资源
      最近更新 更多