Table of Contents

Class CustomStateSet

Namespace
CSharpToJavaScript.APIs.JS
Assembly
CSharpToJavaScript.dll

The CustomStateSet interface of the Document Object Model stores a list of states for an autonomous custom element, and allows states to be added and removed from the set.

[Value("CustomStateSet")]
public class CustomStateSet
Inheritance
CustomStateSet
Inherited Members

Remarks

The interface can be used to expose the internal states of a custom element, allowing them to be used in CSS selectors by code that uses the element.

Using custom elements

See also on MDN

Constructors

CustomStateSet()

public CustomStateSet()