element_getStyles
Retrieve specific CSS style values from a WeChat Mini Program element by specifying the element selector and an array of style property names.
Instructions
获取元素的样式值。names 为样式名数组(如 ['color', 'fontSize', 'backgroundColor'])。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection | No | ||
| selector | Yes | ||
| innerSelector | No | ||
| names | Yes |