pl.wendigo.chrome.api.css / CSSStyle

CSSStyle

data class CSSStyle (source)

CSS style representation.

Link
CSS#CSSStyle type documentation.

Constructors

<init>

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

CSS style representation.

Properties

cssProperties

val cssProperties: List<CSSProperty>

CSS properties in the style.

cssText

val cssText: String?

Style declaration text (if available).

range

val range: SourceRange?

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

shorthandEntries

val shorthandEntries: List<ShorthandEntry>

Computed values for all shorthands found in the style.

styleSheetId

val styleSheetId: StyleSheetId?

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