W3cubDocs

/Haxe JavaScript

CSSNamespaceRule

package js.html

extends CSSRule

Available on js

The CSSNamespaceRule interface describes an object representing a single CSS @namespace at-rule. It implements the CSSRule interface, with a type value of 10 (CSSRule.NAMESPACE_RULE).

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

See also:

Variables

read onlynamespaceURI:String

Returns a DOMString containing the text of the URI of the given namespace.

read onlyprefix:String

Returns a DOMString with the name of the prefix associated to this namespace. If there is no such prefix, returns null.

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