【问题标题】:ComponentQuery in ext 3.4ext 3.4 中的 ComponentQuery
【发布时间】:2014-04-25 20:02:50
【问题描述】:

您好,我目前正在使用 ExtJS 4.2 和 Siesta 测试框架。在我的测试用例中,我使用 Ext.ComponentQuery.query 查找/遍历组件树。我不得不回到 ExtJS 3.4 并且想知道是否有一个等效的 Ext.ComponentQuery.query(除了 DomQuery)可以让您搜索/遍历组件。

【问题讨论】:

    标签: extjs3 component-query


    【解决方案1】:

    我认为,“Ext.Element.query”会有所帮助。 它在内部使用 css 选择器...

    【讨论】:

      【解决方案2】:

      我最近遇到了和你一样的问题,我找到的解决方案是使用Ext.Element.Select('selector')[0]

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2013-09-23
        • 1970-01-01
        相关资源
        最近更新 更多