getMatchedCssRules 方法
- @JSName('getMatchedCSSRules')
- @Returns('_CssRuleList')
- @Creates('_CssRuleList')
返回所有应用于元素伪元素的 CSS 规则。
实现
@JSName('getMatchedCSSRules')
/**
* Returns all CSS rules that apply to the element's pseudo-element.
*/
@Returns('_CssRuleList')
@Creates('_CssRuleList')
List<CssRule> getMatchedCssRules(Element? element, String? pseudoElement)
native;