GetAnimationsOptions Class

The options of Element.GetAnimations (https://drafts.csswg.org/web-animations-1/#dictdef-getanimationsoptions).

public sealed class GetAnimationsOptions

Constructors

NameDescription
GetAnimationsOptions()

GetAnimationsOptions()

public GetAnimationsOptions()

No documentation is available.

Properties

NameDescription
PseudoElementGets the pseudo-element whose animations are returned (e.g. ::before), or null for the element.
SubtreeGets whether the animations of the descendants (and their pseudo-elements) are included.

Gets the pseudo-element whose animations are returned (e.g. ::before), or null for the element.

public string? PseudoElement { get; init; }

Gets whether the animations of the descendants (and their pseudo-elements) are included.

public bool Subtree { get; init; }