W3cubDocs

/Haxe JavaScript

StyleElement

package js.html

extends ElementDOMElementNodeEventTarget

@:native("HTMLStyleElement") Available on js

The HTMLStyleElement interface represents a style element. It inherits properties and methods from its parent, HTMLElement, and from LinkStyle.

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

See:

Variables

disabled:Bool

Is a Boolean value representing whether or not the stylesheet is disabled (true) or not (false).

media:String

Is a DOMString representing the intended destination medium for style information.

scoped:Bool

Is a Boolean value indicating if the element applies to the whole document (false) or only to the parent's sub-tree (true).

read only sheet:StyleSheet

type:String

Is a DOMString representing the type of style being applied by this statement.

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