W3cubDocs

/Haxe JavaScript

CSSStyleSheet

package js.html

extends StyleSheet

@:native("CSSStyleSheet") Available on js

The CSSStyleSheet interface represents a single CSS style sheet. It inherits properties and methods from its parent, StyleSheet.

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

See:

Variables

read only cssRules:CSSRuleList

read only ownerRule:CSSRule

Methods

deleteRule (index:Int):Void

Throws:

null DOMError

insertRule (rule:String, index:Int):Int

Throws:

null DOMError

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