CSSStyleSheet

abstract external class CSSStyleSheet : StyleSheet (source)

Platform and version requirements: JS

Exposes the JavaScript CSSStyleSheet to Kotlin

Constructors

<init>

CSSStyleSheet()

Exposes the JavaScript CSSStyleSheet to Kotlin

Properties

cssRules

open val cssRules: CSSRuleList

ownerRule

open val ownerRule: CSSRule?

Inherited Properties

disabled

open var disabled: Boolean

href

open val href: String?

media

open val media: MediaList

ownerNode

parentStyleSheet

open val parentStyleSheet: StyleSheet?

title

open val title: String?

type

open val type: String

Functions

deleteRule

fun deleteRule(index: Int)

insertRule

fun insertRule(rule: String, index: Int): Int