pl.wendigo.chrome.api.css / CSSProperty

CSSProperty

data class CSSProperty (source)

CSS property declaration data.

Link
CSS#CSSProperty type documentation.

Constructors

<init>

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

CSS property declaration data.

Properties

disabled

val disabled: Boolean?

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

implicit

val implicit: Boolean?

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

important

val important: Boolean?

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

name

val name: String

The property name.

parsedOk

val parsedOk: Boolean?

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

range

val range: SourceRange?

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

text

val text: String?

The full property text as specified in the style.

value

val value: String

The property value.