pl.wendigo.chrome.api.css / RuleMatch

RuleMatch

data class RuleMatch (source)

Match data for a CSS rule.

Link
CSS#RuleMatch type documentation.

Constructors

<init>

RuleMatch(rule: CSSRule, matchingSelectors: List<Int>)

Match data for a CSS rule.

Properties

matchingSelectors

val matchingSelectors: List<Int>

Matching selector indices in the rule's selectorList selectors (0-based).

rule

val rule: CSSRule

CSS rule in the match.