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
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CSSStyleSheet()

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def addImport(bstrURL: String, lIndex: Int = js.native): Int

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

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

  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. 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

  12. var cssText: String

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

    Deletes a rule from the style sheet.

    Deletes a rule from the style sheet.

    MDN

  14. 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
  15. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Definition Classes
    Object
  20. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  21. 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
  22. var id: String

  23. var imports: StyleSheetList

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

    The CSSStyleSheet.

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

    MDN

  25. var isAlternate: Boolean

  26. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  27. var isPrefAlternate: Boolean

  28. def isPrototypeOf(v: Object): Boolean

    Definition Classes
    Object
  29. 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
  30. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  31. final def notify(): Unit

    Definition Classes
    AnyRef
  32. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  33. 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
  34. 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

  35. var owningElement: Element

  36. 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
  37. def propertyIsEnumerable(v: String): Boolean

    Definition Classes
    Object
  38. var readOnly: Boolean

  39. def removeImport(lIndex: Int): Unit

  40. def removeRule(lIndex: Int): Unit

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

    Definition Classes
    AnyRef
  42. 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
  43. def toLocaleString(): String

    Definition Classes
    Object
  44. def toString(): String

    Definition Classes
    AnyRef → Any
  45. 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
  46. def valueOf(): Any

    Definition Classes
    Object
  47. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from StyleSheet

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped