StylePropertyMap extension type
The StylePropertyMap
interface of the
CSS Typed Object Model API
provides a representation of a CSS declaration block that is an alternative
to CSSStyleDeclaration.
- on
- Implemented types
Properties
Methods
-
append(
String property, JSAny values) → void -
The
append()
method of the StylePropertyMap interface adds the passed CSS value to theStylePropertyMap
with the given property. -
clear(
) → void -
The
clear()
method of the StylePropertyMap interface removes all declarations in theStylePropertyMap
. -
delete(
String property) → void -
The
delete()
method of the StylePropertyMap interface removes the CSS declaration with the given property. -
get(
String property) → CSSStyleValue? -
The
get()
method of the StylePropertyMapReadOnly interface returns a CSSStyleValue object for the first value of the specified property.inherited -
getAll(
String property) → JSArray< CSSStyleValue> -
The
getAll()
method of the StylePropertyMapReadOnly interface returns an array of CSSStyleValue objects containing the values for the provided property.inherited -
has(
String property) → bool -
The
has()
method of the StylePropertyMapReadOnly interface indicates whether the specified property is in theStylePropertyMapReadOnly
object.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
set(
String property, JSAny values) → void -
The
set()
method of the StylePropertyMap interface changes the CSS declaration with the given property. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited