@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="CSSStyleDeclaration")
public class CSSStyleDeclaration
extends JsObject
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
cssFloat |
java.lang.String |
cssText |
| Modifier | Constructor and Description |
|---|---|
protected |
CSSStyleDeclaration() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getPropertyPriority(java.lang.String property)
The CSSStyleDeclaration.getPropertyPriority() method interface returns a DOMString that provides all explicitly set priorities on the CSS property.
|
java.lang.String |
getPropertyValue(java.lang.String property)
The CSSStyleDeclaration.getPropertyValue() method interface returns a DOMString containing the value of a specified CSS property.
|
java.lang.String |
item(int index)
The CSSStyleDeclaration.item() method interface returns a CSS property name from a CSSStyleDeclaration by index
|
int |
length()
The read-only property returns an integer that represents the number of style declarations in this CSS declaration block.
|
CSSRule |
parentRule()
The CSSStyleDeclaration.parentRule read-only property returns a CSSRule that is the parent of this style block
|
java.lang.String |
removeProperty(java.lang.String property)
The CSSStyleDeclaration.removeProperty() method interface removes a property from a CSS style declaration object.
|
void |
setProperty(java.lang.String property,
java.lang.String value)
The CSSStyleDeclaration.setProperty() method interface sets a new value for a property on a CSS style declaration object.
|
void |
setProperty(java.lang.String property,
java.lang.String value,
java.lang.String priority)
The CSSStyleDeclaration.setProperty() method interface sets a new value for a property on a CSS style declaration object.
|
assign, create, create, defineProperties, defineProperty, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyDescriptor, getOwnPropertyDescriptors, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toString_, valueOf_, values@Nonnull public java.lang.String cssFloat
@Nonnull public java.lang.String cssText
@JsProperty(name="length") public int length()
@JsProperty(name="parentRule") @Nullable public CSSRule parentRule()
@Nonnull
public java.lang.String getPropertyPriority(@Nonnull
java.lang.String property)
@Nonnull
public java.lang.String getPropertyValue(@Nonnull
java.lang.String property)
@Nonnull
public java.lang.String removeProperty(@Nonnull
java.lang.String property)
public void setProperty(@Nonnull
java.lang.String property,
@Nonnull
java.lang.String value,
@Nonnull
java.lang.String priority)
public void setProperty(@Nonnull
java.lang.String property,
@Nonnull
java.lang.String value)
@Nonnull public java.lang.String item(int index)