Snapshot
相关文档: snapshot
Snapshot 实例,可通过 SelectorQuery 获取。
Snapshot 通过 id
跟一个 snapshot 组件绑定,操作对应的 snapshot 组件。
属性
number width
画布宽度
number height
画布高度
方法
对 snapshot 组件子树进行截图
示例代码
在开发者工具中预览效果
The translations are provided by WeChat Translation and are for reference only. In case of any inconsistency and discrepancy between the Chinese version and the English version, the Chinese version shall prevail.Incorrect translation. Tap to report.