left:
{{nodeInfo.left}}
top:
{{nodeInfo.top}}
right:
{{nodeInfo.right}}
bottom:
{{nodeInfo.bottom}}
width:
{{nodeInfo.width}}
height:
{{nodeInfo.height}}
子组件多根节点
子组件多根节点(仅测试,用于验证查询是否超出范围)
测试.fields
{{data.fieldsResultContainNode}}
测试.node
{{data.nodeResultContainNode}}
Text 组件查询示例
这是一个测试文本元素
left:
{{data.textNodeInfo!.left}}
right:
{{data.textNodeInfo!.right}}
top:
{{data.textNodeInfo!.top}}
bottom:
{{data.textNodeInfo!.bottom}}
width:
{{data.textNodeInfo!.width}}
height:
{{data.textNodeInfo!.height}}
Image 组件查询示例
left:
{{data.imageNodeInfo!.left}}
right:
{{data.imageNodeInfo!.right}}
top:
{{data.imageNodeInfo!.top}}
bottom:
{{data.imageNodeInfo!.bottom}}
width:
{{data.imageNodeInfo!.width}}
height:
{{data.imageNodeInfo!.height}}
Scroll-view 组件查询示例
Scroll-view 第 {{i}} 行
left:
{{data.scrollViewNodeInfo!.left}}
right:
{{data.scrollViewNodeInfo!.right}}
top:
{{data.scrollViewNodeInfo!.top}}
bottom:
{{data.scrollViewNodeInfo!.bottom}}
width:
{{data.scrollViewNodeInfo!.width}}
height:
{{data.scrollViewNodeInfo!.height}}