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

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int
no setterinherited

Methods

append(String property, JSAny values) → void
The append() method of the StylePropertyMap interface adds the passed CSS value to the StylePropertyMap with the given property.
clear() → void
The clear() method of the StylePropertyMap interface removes all declarations in the StylePropertyMap.
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 the StylePropertyMapReadOnly 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