CSSViewTransitionRule: types property
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
The types read-only property of the CSSViewTransitionRule interface returns an array containing the associated @view-transition at-rule's types descriptor values.
Value
An array of strings.
If no types descriptor is set on the @view-transition at-rule, the types property is equal to an empty array.
Examples
See the main CSSViewTransitionRule page for example usage.
Specifications
| Specification |
|---|
| CSS View Transitions Module Level 2> # dom-cssviewtransitionrule-types> |