W3cubDocs

/Dart 2

getMatchedCssRules method

  1. @JSName('getMatchedCSSRules')
  2. @Returns('_CssRuleList|Null')
  3. @Creates('_CssRuleList')
List<CssRule> getMatchedCssRules (Element element, String pseudoElement)

Returns all CSS rules that apply to the element's pseudo-element.

Implementation

@JSName('getMatchedCSSRules')
/**
 * Returns all CSS rules that apply to the element's pseudo-element.
 */
@Returns('_CssRuleList|Null')
@Creates('_CssRuleList')
List<CssRule> getMatchedCssRules(Element element, String pseudoElement)
    native;

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/2.0.0/dart-html/Window/getMatchedCssRules.html