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

CSSProperty

data class CSSProperty

CSS property declaration data.

Official doc

Constructors

<init>

CSS property declaration data.

CSSProperty(name: String, value: String, important: Boolean? = null, implicit: Boolean? = null, text: String? = null, parsedOk: Boolean? = null, disabled: Boolean? = null, range: SourceRange? = null)

Properties

disabled

Whether the property is disabled by the user (present for source-based properties only).

val disabled: Boolean?

implicit

Whether the property is implicit (implies false if absent).

val implicit: Boolean?

important

Whether the property has "!important" annotation (implies false if absent).

val important: Boolean?

name

The property name.

val name: String

parsedOk

Whether the property is understood by the browser (implies true if absent).

val parsedOk: Boolean?

range

The entire property range in the enclosing style declaration (if available).

val range: SourceRange?

text

The full property text as specified in the style.

val text: String?

value

The property value.

val value: String