Builder

class Builder(val edits: List<StyleDeclarationEdit>)

A builder for SetStyleTextsRequest, which allows setting the optional parameters of the CSSDomain.setStyleTexts command via a lambda.

Constructors

Link copied to clipboard
constructor(edits: List<StyleDeclarationEdit>)

Properties

Link copied to clipboard

(undocumented in the protocol definition)

Link copied to clipboard

NodeId for the DOM node in whose context custom property declarations for registered properties should be validated. If omitted, declarations in the new rule text can only be validated statically, which may produce incorrect results if the declaration contains a var() for example.

Functions

Link copied to clipboard