Table of Contents

Class CSSViewTransitionRule

Namespace
CSharpToJavaScript.APIs.JS
Assembly
CSharpToJavaScript.dll

The CSSViewTransitionRule interface represents a CSS @view-transition at-rule.

[Value("CSSViewTransitionRule")]
public class CSSViewTransitionRule : CSSRule
Inheritance
CSSViewTransitionRule
Inherited Members

Remarks

Constructors

CSSViewTransitionRule()

public CSSViewTransitionRule()

Properties

Navigation

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

[Value("navigation")]
public string Navigation { get; }

Property Value

string

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

Remarks

Types

The types read-only property of the CSSViewTransitionRule interface returns an array containing the associated {{cssxref("@view-transition")}} at-rule's types descriptor values.

[Value("types")]
public string[] Types { get; }

Property Value

string[]

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.

Remarks