Class CSSPseudoElement
- Namespace
- CSharpToJavaScript.APIs.JS
- Assembly
- CSharpToJavaScript.dll
NOTE
ExperimentalCSSPseudoElement 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'
Constructors
CSSPseudoElement()
public CSSPseudoElement()
Properties
Element
NOTE
Experimentalelement 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'
Parent
[Value("parent")]
public Union7 Parent { get; }
Property Value
Type
NOTE
Experimentaltype 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
-'Element.Pseudo'
-List of pseudo-elements
Methods
Pseudo(string)
[Value("pseudo")]
public CSSPseudoElement? Pseudo(string type)
Parameters
typestring