StyleSheet

open class StyleSheet(source)

An object implementing the StyleSheet interface represents a single style sheet. CSS style sheets will further implement the more specialized CSSStyleSheet interface.

MDN Reference

Inheritors

Properties

Link copied to clipboard
open external var disabled: Boolean

The disabled property of the StyleSheet interface determines whether the style sheet is prevented from applying to the document.

Link copied to clipboard
open external val href: String?

The href property of the StyleSheet interface returns the location of the style sheet.

Link copied to clipboard
open external val media: MediaList

The read-only media property of the StyleSheet interface contains a MediaList object representing the intended destination media for style information.

Link copied to clipboard
open external val ownerNode: JsAny?

The ownerNode read-only property of the StyleSheet interface returns the node that associates this style sheet with the document.

Link copied to clipboard
open external val parentStyleSheet: CSSStyleSheet?

The parentStyleSheet read-only property of the StyleSheet interface returns the style sheet, if any, that is including the given style sheet.

Link copied to clipboard
open external val title: String?

The title read-only property of the StyleSheet interface returns the advisory title of the current style sheet.

Link copied to clipboard
open external val type: String

The type read-only property of the StyleSheet interface specifies the style sheet language for the given style sheet.