puppeteer/new-docs/puppeteer.protocol.css.ruleusage.md
2020-07-13 14:01:35 +01:00

24 lines
1.2 KiB
Markdown

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [CSS](./puppeteer.protocol.css.md) &gt; [RuleUsage](./puppeteer.protocol.css.ruleusage.md)
## Protocol.CSS.RuleUsage interface
CSS coverage information.
<b>Signature:</b>
```typescript
export interface RuleUsage
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [endOffset](./puppeteer.protocol.css.ruleusage.endoffset.md) | number | Offset of the end of the rule body from the beginning of the stylesheet. |
| [startOffset](./puppeteer.protocol.css.ruleusage.startoffset.md) | number | Offset of the start of the rule (including selector) from the beginning of the stylesheet. |
| [styleSheetId](./puppeteer.protocol.css.ruleusage.stylesheetid.md) | [StyleSheetId](./puppeteer.protocol.css.stylesheetid.md) | The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from. |
| [used](./puppeteer.protocol.css.ruleusage.used.md) | boolean | Indicates whether the rule was actually used by some element in the page. |