CSSViewTransitionRule: types property
CSSOM
CSSOM
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
Browser compatibility
See also
- @view-transition
- View Transition API