ViewTransitionTypeSet Class

https://drafts.csswg.org/css-view-transitions-2/#viewtransitiontypeset: the types of a view transition, matched by the :active-view-transition-type() pseudo-class. It is a setlike<DOMString>: the items are enumerated in insertion order, and, as for a JavaScript Set, an enumeration sees the changes made while it is in progress.

public sealed class ViewTransitionTypeSet : IEnumerable<string>, IReadOnlyCollection<string>, IEnumerable
Implements

Properties

NameDescription
CountGets the number of types.

Gets the number of types.

public int Count { get; }

Property value

int

Methods

NameDescription
Add(string)Adds a type.
Clear()Removes all the types.
Delete(string)Removes a type. Returns whether the set contained the type.
GetEnumerator()Enumerates the types, including the types added during the enumeration.
Has(string)Returns whether the set contains the type.
System.Collections.IEnumerable.GetEnumerator()

Adds a type.

public void Add(string value)

Parameters

value string

Removes all the types.

public void Clear()

Removes a type. Returns whether the set contained the type.

public bool Delete(string value)

Parameters

value string

Returns

bool

Enumerates the types, including the types added during the enumeration.

public IEnumerator<string> GetEnumerator()

Returns whether the set contains the type.

public bool Has(string value)

Parameters

value string

Returns

bool

System.Collections.IEnumerable.GetEnumerator()

ViewTransitionTypeSet.cs
IEnumerator IEnumerable.GetEnumerator()

No documentation is available.