W3cubDocs

/Haxe JavaScript

StyleSheet

package js.html

extended by CSSStyleSheet

@:native("StyleSheet") 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:

Variables

disabled:Bool

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

read only href:String

Returns a DOMString representing the location of the stylesheet.

read only media:MediaList

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

read only ownerNode:Node

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

read only parentStyleSheet:StyleSheet

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

read only title:String

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

read only type:String

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

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