chrome-devtools-kotlin / org.hildan.chrome.devtools.domains.css / AddRuleRequest

AddRuleRequest

data class AddRuleRequest

Request object containing input parameters for the CSSDomain.addRule command.

Constructors

<init>

Request object containing input parameters for the CSSDomain.addRule command.

AddRuleRequest(styleSheetId: StyleSheetId, ruleText: String, location: SourceRange)

Properties

location

Text position of a new rule in the target style sheet.

val location: SourceRange

ruleText

The text of a new rule.

val ruleText: String

styleSheetId

The css style sheet identifier where a new rule should be inserted.

val styleSheetId: StyleSheetId