21 lines
980 B
Markdown
21 lines
980 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [CSS](./puppeteer.protocol.css.md) > [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. |
|
|
|