RunicInspectCommand interface

Module @runic-artifex/vite-plugin-runic in @runic-artifex/vite-plugin-runic 0.23.0

interface RunicInspectCommand

A command the element calls, with its C# handler.

Properties

route

readonly route: string;

No documentation.

viewModel

readonly viewModel?: string;

No documentation.

member

readonly member: string;

No documentation.

evidence

readonly evidence: "call" | "source";

How the overview knows it: call (the element made a Bridge call to it) or source (its event handler reaches the client call in the component's file, found before any click).

frontend

readonly frontend?: RunicInspectLocation;

Where the handler reaches the client call (client.increment()), when the source shows it.

via

readonly via?: "direct" | "helper" | "local";

direct: in the handler; helper: through useCommand/injectCommand-style helpers; local: through another declaration of the file.

symbol

readonly symbol?: string;

The handler, such as Demo.CounterViewModel.Increment(), and the command property.

property

readonly property?: string;

No documentation.

location

readonly location?: RunicInspectLocation;

No documentation.

canExecute

readonly canExecute?: unknown;

The value of the command's availability state (canIncrement) when the ViewModel has one.

calls

readonly calls: number;

How many calls of it the element made in this page.