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

CSSStyleSheetHeader

data class CSSStyleSheetHeader

CSS stylesheet metainformation.

Official doc

Constructors

<init>

CSS stylesheet metainformation.

CSSStyleSheetHeader(styleSheetId: StyleSheetId, frameId: FrameId, sourceURL: String, sourceMapURL: String? = null, origin: StyleSheetOrigin, title: String, ownerNode: BackendNodeId? = null, disabled: Boolean, hasSourceURL: Boolean? = null, isInline: Boolean, isMutable: Boolean, isConstructed: Boolean, startLine: Double, startColumn: Double, length: Double, endLine: Double, endColumn: Double)

Properties

disabled

Denotes whether the stylesheet is disabled.

val disabled: Boolean

endColumn

Column offset of the end of the stylesheet within the resource (zero based).

val endColumn: Double

endLine

Line offset of the end of the stylesheet within the resource (zero based).

val endLine: Double

frameId

Owner frame identifier.

val frameId: FrameId

hasSourceURL

Whether the sourceURL field value comes from the sourceURL comment.

val hasSourceURL: Boolean?

isConstructed

Whether this stylesheet is a constructed stylesheet (created using new CSSStyleSheet()).

val isConstructed: Boolean

isInline

Whether this stylesheet is created for STYLE tag by parser. This flag is not set for document.written STYLE tags.

val isInline: Boolean

isMutable

Whether this stylesheet is mutable. Inline stylesheets become mutable after they have been modified via CSSOM API.

val isMutable: Boolean

length

Size of the content (in characters).

val length: Double

origin

Stylesheet origin.

val origin: StyleSheetOrigin

ownerNode

The backend id for the owner node of the stylesheet.

val ownerNode: BackendNodeId?

sourceMapURL

URL of source map associated with the stylesheet (if any).

val sourceMapURL: String?

sourceURL

Stylesheet resource URL.

val sourceURL: String

startColumn

Column offset of the stylesheet within the resource (zero based).

val startColumn: Double

startLine

Line offset of the stylesheet within the resource (zero based).

val startLine: Double

styleSheetId

The stylesheet identifier.

val styleSheetId: StyleSheetId

title

Stylesheet title.

val title: String