ResolveValuesRequest

@Serializable
data class ResolveValuesRequest(val values: List<String>, val nodeId: NodeId, val propertyName: String? = null, val pseudoType: PseudoType? = null, val pseudoIdentifier: String? = null)

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

Constructors

Link copied to clipboard
constructor(values: List<String>, nodeId: NodeId, propertyName: String? = null, pseudoType: PseudoType? = null, pseudoIdentifier: String? = null)

Types

Link copied to clipboard
class Builder(val values: List<String>, val nodeId: NodeId)

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

Properties

Link copied to clipboard

Id of the node in whose context the expression is evaluated

Link copied to clipboard
val propertyName: String? = null

Only longhands and custom property names are accepted.

Link copied to clipboard

Pseudo element custom ident.

Link copied to clipboard
val pseudoType: PseudoType? = null

Pseudo element type, only works for pseudo elements that generate elements in the tree, such as ::before and ::after.

Link copied to clipboard

Substitution functions (var()/env()/attr()) and cascade-dependent keywords (revert/revert-layer) do not work.