Back to Content

CSSViewTransitionRule: navigation property

files/en-us/web/api/cssviewtransitionrule/navigation/index.md

latest637 B
Original Source

{{APIRef("CSSOM")}}

The navigation read-only property of the {{domxref("CSSViewTransitionRule")}} interface returns the associated {{cssxref("@view-transition")}} at-rule's navigation descriptor value.

Value

A string.

If no navigation descriptor is set on the @view-transition at-rule, the navigation property is equal to an empty string.

Examples

See the main {{domxref("CSSViewTransitionRule")}} page for example usage.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also