CSSRule

abstract external class CSSRule (source)

Platform and version requirements: JS

Exposes the JavaScript CSSRule to Kotlin

Constructors

<init>

CSSRule()

Exposes the JavaScript CSSRule to Kotlin

Properties

cssText

open var cssText: String

parentRule

open val parentRule: CSSRule?

parentStyleSheet

open val parentStyleSheet: CSSStyleSheet?

type

open val type: Short

Inherited Functions

equals

open operator fun equals(other: Any?): Boolean

Indicates whether some other object is "equal to" this one. Implementations must fulfil the following requirements:

hashCode

open fun hashCode(): Int

Returns a hash code value for the object. The general contract of hashCode is:

toString

open fun toString(): String

Returns a string representation of the object.

Companion Object Properties

CHARSET_RULE

val CHARSET_RULE: Short

FONT_FACE_RULE

val FONT_FACE_RULE: Short

IMPORT_RULE

val IMPORT_RULE: Short

MARGIN_RULE

val MARGIN_RULE: Short

MEDIA_RULE

val MEDIA_RULE: Short

NAMESPACE_RULE

val NAMESPACE_RULE: Short

PAGE_RULE

val PAGE_RULE: Short

STYLE_RULE

val STYLE_RULE: Short

Inheritors

CSSGroupingRule

abstract external class CSSGroupingRule : CSSRule

Exposes the JavaScript CSSGroupingRule to Kotlin

CSSImportRule

abstract external class CSSImportRule : CSSRule

CSSMarginRule

abstract external class CSSMarginRule : CSSRule

CSSNamespaceRule

abstract external class CSSNamespaceRule : CSSRule

Exposes the JavaScript CSSNamespaceRule to Kotlin

CSSStyleRule

abstract external class CSSStyleRule : CSSRule

Exposes the JavaScript CSSStyleRule to Kotlin