org.scalajs.dom.raw

CSSRule

class CSSRule extends Object

An object implementing the CSSRule DOM interface represents a single CSS at-rule. References to a CSSRule-implementing object may be obtained by looking at a CSS style sheet's cssRules list.

MDN

Annotations
@RawJSType() @native() @JSGlobal()
Linear Supertypes
Object, Any, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. CSSRule
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CSSRule()

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. var CHARSET_RULE: Int

  7. var FONT_FACE_RULE: Int

  8. var IMPORT_RULE: Int

  9. var KEYFRAMES_RULE: Int

  10. var KEYFRAME_RULE: Int

  11. var MEDIA_RULE: Int

  12. var NAMESPACE_RULE: Int

  13. var PAGE_RULE: Int

  14. var STYLE_RULE: Int

  15. var UNKNOWN_RULE: Int

  16. var VIEWPORT_RULE: Int

  17. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  18. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. var cssText: String

    cssText returns the actual text of the style rule.

    cssText returns the actual text of the style rule. To be able to set a stylesheet rule dynamically, see Using dynamic styling information.

    MDN

  20. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Definition Classes
    Object
  25. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  26. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  27. def isPrototypeOf(v: Object): Boolean

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

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

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

    Definition Classes
    AnyRef
  31. var parentRule: CSSRule

    Returns the containing rule, otherwise null.

    Returns the containing rule, otherwise null. E.g. if this rule is a style rule inside an @media block, the parent rule would be that CSSMediaRule.

    MDN

  32. var parentStyleSheet: CSSStyleSheet

    parentStyleSheet returns the stylesheet object in which the current rule is defined.

    parentStyleSheet returns the stylesheet object in which the current rule is defined.

    MDN

  33. def propertyIsEnumerable(v: String): Boolean

    Definition Classes
    Object
  34. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  35. def toLocaleString(): String

    Definition Classes
    Object
  36. def toString(): String

    Definition Classes
    AnyRef → Any
  37. var type: Int

  38. def valueOf(): Any

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped