CSSPseudoElement class
Experimental: This is an experimental technologyCheck the
Browser compatibility table carefully before using this in
production.
The 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()
.
EventTarget
CSSPseudoElement
- Implemented types
- Available extensions
- Annotations
-
- @experimental
- @JS()
- @staticInterop
Constructors
- CSSPseudoElement()
-
factory
Properties
- element → Element
-
Available on CSSPseudoElement, provided by the PropsCSSPseudoElement extension
no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- parent → dynamic
-
Available on CSSPseudoElement, provided by the PropsCSSPseudoElement extension
no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → String
-
Available on CSSPseudoElement, provided by the PropsCSSPseudoElement extension
no setter
Methods
-
addEventListener(
String type, EventListener? callback, [dynamic options]) → void -
Available on EventTarget, provided by the PropsEventTarget extension
-
convertPointFromNode(
DOMPointInit point, dynamic from, [ConvertCoordinateOptions? options]) → DOMPoint -
Available on GeometryUtils, provided by the PropsGeometryUtils extension
-
convertQuadFromNode(
DOMQuadInit quad, dynamic from, [ConvertCoordinateOptions? options]) → DOMQuad -
Available on GeometryUtils, provided by the PropsGeometryUtils extension
-
convertRectFromNode(
DOMRectReadOnly rect, dynamic from, [ConvertCoordinateOptions? options]) → DOMQuad -
Available on GeometryUtils, provided by the PropsGeometryUtils extension
-
dispatchEvent(
Event event) → bool -
Available on EventTarget, provided by the PropsEventTarget extension
-
getBoxQuads(
[BoxQuadOptions? options]) → Iterable< DOMQuad> -
Available on GeometryUtils, provided by the PropsGeometryUtils extension
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pseudo(
String type) → CSSPseudoElement? -
Available on CSSPseudoElement, provided by the PropsCSSPseudoElement extension
-
removeEventListener(
String type, EventListener? callback, [dynamic options]) → void -
Available on EventTarget, provided by the PropsEventTarget extension
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited