NodesRef SelectorQuery.select(string selector)

    NodesRef

    • ID选择器:#the-id
    • class选择器(可以连续指定多个):.a-class.another-class
    • 后代选择器:.the-ancestor .the-descendant
    • 跨自定义组件的后代选择器:.the-ancestor >>> .the-descendant
    • 多选择器的并集:#a-node, .some-other-nodes