AddRuleRequest

@Serializable
data class AddRuleRequest(val styleSheetId: StyleSheetId, val ruleText: String, val location: SourceRange)(source)

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

Constructors

Link copied to clipboard
constructor(styleSheetId: StyleSheetId, ruleText: String, location: SourceRange)

Properties

Link copied to clipboard

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

Link copied to clipboard

The text of a new rule.

Link copied to clipboard

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