getMatchedCssRules method

  1. @DomName('Window.getMatchedCSSRules')
  2. @DocsEditable()
  3. @Experimental()
List<CssRule> getMatchedCssRules(Element element, String pseudoElement)

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

Source

@DomName('Window.getMatchedCSSRules')
@DocsEditable()
@Experimental() // non-standard
List<CssRule> getMatchedCssRules(Element element, String pseudoElement) =>
    _blink.BlinkWindow.instance
        .getMatchedCSSRules_Callback_2_(this, element, pseudoElement);

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