Class StylePropertyMap
- Namespace
- CSharpToJavaScript.APIs.JS
- Assembly
- CSharpToJavaScript.dll
The StylePropertyMap interface of the CSS Typed Object Model API provides a representation of a CSS declaration block that is an alternative to CSSStyleDeclaration.
[Value("StylePropertyMap")]
public class StylePropertyMap : StylePropertyMapReadOnly
- Inheritance
-
StylePropertyMap
- Inherited Members
Remarks
Constructors
StylePropertyMap()
public StylePropertyMap()
Methods
Append(string, params Union10[])
The append() method of the
StylePropertyMap interface adds the passed CSS value to theStylePropertyMap with the given property.
[Value("append")]
public GlobalObject.Undefined Append(string property, params Union10[] values)
Parameters
Returns
Remarks
Clear()
The clear() method of the StylePropertyMap
interface removes all declarations in the StylePropertyMap.
[Value("clear")]
public GlobalObject.Undefined Clear()
Returns
Remarks
Delete(string)
The delete() method of the
StylePropertyMap interface removes the CSS declaration with the given
property.
[Value("delete")]
public GlobalObject.Undefined Delete(string property)
Parameters
propertystring
Returns
Remarks
Set(string, params Union9[])
The set() method of the StylePropertyMap
interface changes the CSS declaration with the given property.
[Value("set")]
public GlobalObject.Undefined Set(string property, params Union9[] values)