Table of Contents

Class CSSPseudoElement

Namespace
CSharpToJavaScript.APIs.JS
Assembly
CSharpToJavaScript.dll
NOTE
Experimental
The CSSPseudoElement interface represents a pseudo-element that may be the target of an event or animated using the 'Web Animations API'. Instances of this interface may be obtained by calling 'Element.Pseudo'.
[Value("CSSPseudoElement")]
public class CSSPseudoElement : EventTarget, GeometryUtils
Inheritance
CSSPseudoElement
Implements
Inherited Members

Remarks

-'Element.Pseudo'
-'Web Animations API'
-'Element.Animate'

See also on MDN

Constructors

CSSPseudoElement()

public CSSPseudoElement()

Properties

Element

NOTE
Experimental
The element read-only property of the
'CSSPseudoElement' interface returns a reference to the originating element
of the pseudo-element, in other words its parent element.
[Value("element")]
public Element Element { get; }

Property Value

Element

An 'Element' representing the pseudo-element's originating element.

Remarks

-'Element.Pseudo'

See also on MDN

Parent

[Value("parent")]
public Union7 Parent { get; }

Property Value

Union7

Type

NOTE
Experimental
The type read-only property of the
'CSSPseudoElement' interface returns the type of the pseudo-element as a
string, represented in the form of a CSS selector.
[Value("type")]
public string Type { get; }

Property Value

string

A string containing one of the following values:

Remarks

Methods

Pseudo(string)

[Value("pseudo")]
public CSSPseudoElement? Pseudo(string type)

Parameters

type string

Returns

CSSPseudoElement