element_wxml
Retrieve the WXML structure of a specified element in a WeChat mini-program. Set includeSelf to true to also obtain the element's outer WXML.
Instructions
获取元素 WXML 结构(默认内部 WXML,includeSelf=true 返回包含自身的 outerWXML)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| element_id | Yes | ||
| includeSelf | No | 为 true 时返回包含元素自身的 outerWXML,默认仅返回内部 WXML |