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

21 lines
980 B
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; [AddRuleRequest](./puppeteer.protocol.css.addrulerequest.md)
## Protocol.CSS.AddRuleRequest interface
<b>Signature:</b>
```typescript
export interface AddRuleRequest
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [location](./puppeteer.protocol.css.addrulerequest.location.md) | [SourceRange](./puppeteer.protocol.css.sourcerange.md) | Text position of a new rule in the target style sheet. |
| [ruleText](./puppeteer.protocol.css.addrulerequest.ruletext.md) | string | The text of a new rule. |
| [styleSheetId](./puppeteer.protocol.css.addrulerequest.stylesheetid.md) | [StyleSheetId](./puppeteer.protocol.css.stylesheetid.md) | The css style sheet identifier where a new rule should be inserted. |