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

CSSStyle

data class CSSStyle

CSS style representation.

Official doc

Constructors

<init>

CSS style representation.

CSSStyle(styleSheetId: StyleSheetId? = null, cssProperties: List<CSSProperty>, shorthandEntries: List<ShorthandEntry>, cssText: String? = null, range: SourceRange? = null)

Properties

cssProperties

CSS properties in the style.

val cssProperties: List<CSSProperty>

cssText

Style declaration text (if available).

val cssText: String?

range

Style declaration range in the enclosing stylesheet (if available).

val range: SourceRange?

shorthandEntries

Computed values for all shorthands found in the style.

val shorthandEntries: List<ShorthandEntry>

styleSheetId

The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from.

val styleSheetId: StyleSheetId?