StyleSheet

@native @JSGlobal @JSType
class StyleSheet extends Object

An object implementing the StyleSheet interface represents a single style sheet. CSS style sheets will further implement the more specialized CSSStyleSheet interface.

class Object
trait Any
class Object
trait Matchable
class Any

Value members

Concrete methods

def `type`: String

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

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

def disabled: Boolean

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

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

def href: String

Returns a DOMString representing the location of the stylesheet.

Returns a DOMString representing the location of the stylesheet.

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

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

ownerNode returns the node that associates this style sheet with the document.

ownerNode returns the node that associates this style sheet with the document.

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

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

def title: String

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

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

Inherited methods

def hasOwnProperty(v: String): Boolean
Inherited from:
Object
def isPrototypeOf(v: Object): Boolean
Inherited from:
Object
def propertyIsEnumerable(v: String): Boolean
Inherited from:
Object
def toLocaleString(): String
Inherited from:
Object
def valueOf(): Any
Inherited from:
Object