提交 ac0b2c8c 编写于 作者: H hdx

nodes-info: 更新仅支持的选择器

上级 5b69af98
...@@ -8,18 +8,7 @@ ...@@ -8,18 +8,7 @@
``selector`` 类似于 CSS 的选择器,但仅支持下列语法。 ``selector`` 类似于 CSS 的选择器,但仅支持下列语法。
- ID选择器:``#the-id`` - ID选择器:``#the-id``
- class选择器(可以连续指定多个):``.a-class.another-class`` - class选择器:``.a-class``
- 子元素选择器:``.the-parent > .the-child``
- 后代选择器:``.the-ancestor .the-descendant``
- 跨自定义组件的后代选择器:``.the-ancestor >>> .the-descendant``
- 多选择器的并集:``#a-node, .some-other-nodes``
uni-app-x 暂时支持以下选择器
|selector||
|:-:|:-:|
|ID选择器|``#the-id``|
|class选择器|``.a-class``|
<!-- UTSAPIJSON.createSelectorQuery.returnValue --> <!-- UTSAPIJSON.createSelectorQuery.returnValue -->
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册