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>, IEnumerableProperties
| Name | Description |
|---|---|
| Count | Gets the number of types. |
Methods
| Name | Description |
|---|---|
| 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() |
Add(string)
ViewTransitionTypeSet.csClear()
ViewTransitionTypeSet.csRemoves all the types.
public void Clear()Delete(string)
ViewTransitionTypeSet.csGetEnumerator()
ViewTransitionTypeSet.csEnumerates the types, including the types added during the enumeration.
public IEnumerator<string> GetEnumerator()