CSSViewTransitionRule: types property

فهرست فصل‌ها دانلود آرشیوناشر

MDN Web Docs · نسخهٔ df622a2a1c1e · CC BY-SA 2.5 و مجوز جداگانهٔ ناشر برای نمونه‌کد

{{APIRef("CSSOM")}}

The **types** read-only property of the {{domxref("CSSViewTransitionRule")}} interface returns an array containing the associated {{cssxref("@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 {{domxref("CSSViewTransitionRule")}} page for example usage.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also

  • {{cssxref("@view-transition")}}
  • View Transition API