StyleSheet

js.html.StyleSheet (extern class) → CSSStyleSheet

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

Documentation StyleSheet by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See:

Instance Members

type: String

Returns a DOMString representing the style sheet language for this style sheet.


href: String

Returns a DOMString representing the location of the stylesheet.


ownerNode: Node

Returns a Node associating this style sheet with the current document.


parentStyleSheet: StyleSheet

Returns a StyleSheet including this one, if any; returns null if there aren't any.


title: String

Returns a DOMString representing the advisory title of the current style sheet.


media: MediaList

Returns a MediaList representing the intended destination medium for style information.


disabled: Bool

Is a Boolean representing whether the current stylesheet has been applied or not.