W3cubDocs

/Haxe JavaScript

StyleSheet

package js.html

extended by CSSStyleSheet

Available on js

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 also:

Variables

disabled:Bool

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

read onlyhref:String

Returns a DOMString representing the location of the stylesheet.

read onlymedia:MediaList

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

read onlyownerNode:Node

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

read onlyparentStyleSheet:StyleSheet

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

read onlytitle:String

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

read onlytype:String

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

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/StyleSheet.html