CSSViewTransitionRule: types property

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

See also