class CSSStyleDeclaration extends Object
The CSS Style Declaration object represents a collection of CSS property-value pairs.
- Annotations
- @RawJSType() @native()
- See also
https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleDeclaration
http://www.w3schools.com/jsref/obj_cssstyledeclaration.asp
- Alphabetic
- By Inheritance
- CSSStyleDeclaration
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new CSSStyleDeclaration()
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
cssText: String
Returns a text representation of the declaration block
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
getPropertyPriority(property: String): CSSPropertyPriority
Gets whether or not the property has the "important" priority
Gets whether or not the property has the "important" priority
- property
the given property name
-
def
getPropertyValue[T <: Any](property: String): T
Gets the property value
Gets the property value
- property
the given property name
-
def
hasOwnProperty(v: String): Boolean
- Definition Classes
- Object
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isPrototypeOf(v: Object): Boolean
- Definition Classes
- Object
-
def
item[T <: Any](index: Int): T
Gets the property name
Gets the property name
- index
the index value
-
def
length: Int
Returns the number of properties
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
parentRule: CSSRule
Returns the containing CssRule
-
def
propertyIsEnumerable(v: String): Boolean
- Definition Classes
- Object
-
def
removeProperty(property: String): Any
Gets the removed property value
Gets the removed property value
- property
the given property name
-
def
setProperty(property: String, value: Any, priority: CSSPropertyPriority): Unit
* Set a CSS property for an element
* Set a CSS property for an element
- property
the given property name
- value
the property value
- priority
the priority
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toLocaleString(): String
- Definition Classes
- Object
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
valueOf(): Any
- Definition Classes
- Object
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )