ViewDescription interface

Module @runic-artifex/views/bindings in @runic-artifex/views 0.23.0

interface ViewDescription

A connected View client as the development tools describe it.

Properties

view

readonly view: string;

The C# view model's name without its namespace, such as EditorViewModel.

route

readonly route: string;

The route, such as editor or content1.

contract

readonly contract: string;

The View contract, {C# view model}:{fingerprint}.

revision

readonly revision: number | undefined;

The revision of the route's latest state; undefined before the first state.

presentations

readonly presentations: number;

How many presentations of the page show the route.

released

readonly released: boolean;

The client was disposed, or .NET released its View or the Bridge session changed.