pl.wendigo.chrome.api.css / AddRuleResponse

AddRuleResponse

data class AddRuleResponse (source)

Represents response frame that is returned from CSS#addRule operation call. Inserts a new rule with the given ruleText in a stylesheet with given styleSheetId, at the position specified by location.

Link
CSS#addRule method documentation.

See Also

CSSOperations.addRule

Constructors

<init>

AddRuleResponse(rule: CSSRule)

Represents response frame that is returned from CSS#addRule operation call. Inserts a new rule with the given ruleText in a stylesheet with given styleSheetId, at the position specified by location.

Properties

rule

val rule: CSSRule

The newly created rule.