Table of Contents

Class CSSGroupingRule

Namespace
CSharpToJavaScript.APIs.JS
Assembly
CSharpToJavaScript.dll

The CSSGroupingRule interface of the CSS Object Model represents any CSS at-rule that contains other rules nested within it.

[Value("CSSGroupingRule")]
public class CSSGroupingRule : CSSRule
Inheritance
CSSGroupingRule
Derived
Inherited Members

Remarks

Constructors

CSSGroupingRule()

public CSSGroupingRule()

Properties

CssRules

The cssRules property of the
CSSGroupingRule interface returns a CSSRuleList containing
a collection of CSSRule objects.

[Value("cssRules")]
public CSSRuleList CssRules { get; }

Property Value

CSSRuleList

a CSSRuleList.

Remarks

Methods

DeleteRule(ulong)

The deleteRule() method of the
CSSGroupingRule interface removes a CSS rule from a list of child CSS
rules.

[Value("deleteRule")]
public GlobalObject.Undefined DeleteRule(ulong index)

Parameters

index ulong

Returns

GlobalObject.Undefined

None (GlobalObject.Undefined).

Remarks

InsertRule(string, ulong)

The insertRule() method of the
CSSGroupingRule interface adds a new CSS rule to a list of CSS rules.

[Value("insertRule")]
public ulong InsertRule(string rule, ulong index = 0)

Parameters

rule string
index ulong

Returns

ulong

The index of the new rule.

Remarks