Class

org.scalajs.dom.raw

CSSStyleSheet

Related Doc: package raw

Permalink

class CSSStyleSheet extends StyleSheet

An object implementing the CSSStyleSheet interface represents a single CSS style sheet.

MDN

Annotations
@RawJSType() @native() @JSGlobal()
Linear Supertypes
StyleSheet, Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CSSStyleSheet
  2. StyleSheet
  3. Object
  4. Any
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CSSStyleSheet()

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addImport(bstrURL: String, lIndex: Int = js.native): Int

    Permalink
  5. def addPageRule(bstrSelector: String, bstrStyle: String, lIndex: Int = js.native): Int

    Permalink
  6. def addRule(bstrSelector: String, bstrStyle: String = js.native, lIndex: Int = js.native): Int

    Permalink
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. var cssRules: CSSRuleList

    Permalink

    Returns a CSSRuleList of the CSS rules in the style sheet.

    Returns a CSSRuleList of the CSS rules in the style sheet.

    MDN

  10. var cssText: String

    Permalink
  11. def deleteRule(index: Int = js.native): Unit

    Permalink

    Deletes a rule from the style sheet.

    Deletes a rule from the style sheet.

    MDN

  12. def disabled: Boolean

    Permalink

    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.

    MDN

    Definition Classes
    StyleSheet
  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. def hasOwnProperty(v: String): Boolean

    Permalink
    Definition Classes
    Object
  18. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  19. def href: String

    Permalink

    Returns a DOMString representing the location of the stylesheet.

    Returns a DOMString representing the location of the stylesheet.

    MDN

    Definition Classes
    StyleSheet
  20. var id: String

    Permalink
  21. var imports: StyleSheetList

    Permalink
  22. def insertRule(rule: String, index: Int = js.native): Int

    Permalink

    The CSSStyleSheet.insertRule() method inserts a new style rule into the current style sheet.

    The CSSStyleSheet.insertRule() method inserts a new style rule into the current style sheet.

    MDN

  23. var isAlternate: Boolean

    Permalink
  24. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  25. var isPrefAlternate: Boolean

    Permalink
  26. def isPrototypeOf(v: Object): Boolean

    Permalink
    Definition Classes
    Object
  27. def media: MediaList

    Permalink

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

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

    MDN

    Definition Classes
    StyleSheet
  28. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  29. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  30. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  31. def ownerNode: Node

    Permalink

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

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

    MDN

    Definition Classes
    StyleSheet
  32. var ownerRule: CSSRule

    Permalink

    If this style sheet is imported into the document using an @import rule, the ownerRule property will return that CSSImportRule, otherwise it returns null.

    If this style sheet is imported into the document using an @import rule, the ownerRule property will return that CSSImportRule, otherwise it returns null.

    MDN

  33. var owningElement: Element

    Permalink
  34. def parentStyleSheet: StyleSheet

    Permalink

    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.

    MDN

    Definition Classes
    StyleSheet
  35. def propertyIsEnumerable(v: String): Boolean

    Permalink
    Definition Classes
    Object
  36. var readOnly: Boolean

    Permalink
  37. def removeImport(lIndex: Int): Unit

    Permalink
  38. def removeRule(lIndex: Int): Unit

    Permalink
  39. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  40. def title: String

    Permalink

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

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

    MDN

    Definition Classes
    StyleSheet
  41. def toLocaleString(): String

    Permalink
    Definition Classes
    Object
  42. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  43. def type: String

    Permalink

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

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

    MDN

    Definition Classes
    StyleSheet
  44. def valueOf(): Any

    Permalink
    Definition Classes
    Object
  45. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from StyleSheet

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped