org.scalajs.dom

CSSStyleRule

class CSSStyleRule extends CSSRule

CSSStyleRule represents a single CSS style rule. It implements the CSSRule interface with a type value of 1 (CSSRule.STYLE_RULE).

MDN

Annotations
@RawJSType()
Linear Supertypes
CSSRule, Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. CSSStyleRule
  2. CSSRule
  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 CSSStyleRule()

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

    Definition Classes
    CSSRule
  5. var FONT_FACE_RULE: Int

    Definition Classes
    CSSRule
  6. var IMPORT_RULE: Int

    Definition Classes
    CSSRule
  7. var KEYFRAMES_RULE: Int

    Definition Classes
    CSSRule
  8. var KEYFRAME_RULE: Int

    Definition Classes
    CSSRule
  9. var MEDIA_RULE: Int

    Definition Classes
    CSSRule
  10. var NAMESPACE_RULE: Int

    Definition Classes
    CSSRule
  11. var PAGE_RULE: Int

    Definition Classes
    CSSRule
  12. var STYLE_RULE: Int

    Definition Classes
    CSSRule
  13. var UNKNOWN_RULE: Int

    Definition Classes
    CSSRule
  14. var VIEWPORT_RULE: Int

    Definition Classes
    CSSRule
  15. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  16. def clone(): AnyRef

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

    Definition Classes
    CSSRule
  18. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Definition Classes
    Object
  23. def hashCode(): Int

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

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

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

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

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

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

    Definition Classes
    CSSRule
  30. 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

    Definition Classes
    CSSRule
  31. def propertyIsEnumerable(v: String): Boolean

    Definition Classes
    Object
  32. var readOnly: Boolean

  33. var selectorText: String

    Gets/sets the textual representation of the selector for this rule, e.

    Gets/sets the textual representation of the selector for this rule, e.g. "h1,h2".

    MDN

  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

    Definition Classes
    CSSRule
  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( ... )

Deprecated Value Members

  1. def unary_!(): Boolean

    Definition Classes
    Any
    Annotations
    @deprecated
    Deprecated

    (Since version 0.5.0) Considered abuse in typed JavaScript, will be removed in 0.6. Use js.Dynamic or js.prim.Boolean instead.

Inherited from CSSRule

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped