Table of Contents

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 the
StylePropertyMap with the given property.

[Value("append")]
public GlobalObject.Undefined Append(string property, params Union10[] values)

Parameters

property string
values Union10[]

Returns

GlobalObject.Undefined

None (GlobalObject.Undefined).

Remarks

Clear()

The clear() method of the StylePropertyMap
interface removes all declarations in the StylePropertyMap.

[Value("clear")]
public GlobalObject.Undefined Clear()

Returns

GlobalObject.Undefined

None (GlobalObject.Undefined).

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

property string

Returns

GlobalObject.Undefined

None (GlobalObject.Undefined).

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)

Parameters

property string
values Union9[]

Returns

GlobalObject.Undefined

None (GlobalObject.Undefined).

Remarks