Packages

c

org.scalajs.dom.raw

CSSStyleSheet

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()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addImport(bstrURL: String, lIndex: Int = js.native): Int
  5. def addPageRule(bstrSelector: String, bstrStyle: String, lIndex: Int = js.native): Int
  6. def addRule(bstrSelector: String, bstrStyle: String = js.native, lIndex: Int = js.native): Int
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  9. var cssRules: CSSRuleList

    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
  11. def deleteRule(index: Int = js.native): Unit

    Deletes a rule from the style sheet.

    Deletes a rule from the style sheet.

    MDN

  12. 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.

    MDN

    Definition Classes
    StyleSheet
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def href: String

    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
  21. var imports: StyleSheetList
  22. def insertRule(rule: String, index: Int = js.native): Int

    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
  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. var isPrefAlternate: Boolean
  26. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  27. def media: MediaList

    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
    Definition Classes
    AnyRef
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. def ownerNode: Node

    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

    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
  34. def parentStyleSheet: StyleSheet

    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
    Definition Classes
    Object
  36. var readOnly: Boolean
  37. def removeImport(lIndex: Int): Unit
  38. def removeRule(lIndex: Int): Unit
  39. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  40. 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.

    MDN

    Definition Classes
    StyleSheet
  41. def toLocaleString(): String
    Definition Classes
    Object
  42. def toString(): String
    Definition Classes
    AnyRef → Any
  43. 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.

    MDN

    Definition Classes
    StyleSheet
  44. def valueOf(): Any
    Definition Classes
    Object
  45. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from StyleSheet

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped