RunicHandlerBinding interface

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

interface RunicHandlerBinding extends RunicHandlerPosition

An event binding of the markup and what it reaches.

Properties

tag

readonly tag: string;

The element or component tag: button, MyButton.

event

readonly event: string;

The event, lower case without on: click.

expression

readonly expression: string;

The handler's source text, shortened.

calls

readonly calls: readonly RunicHandlerCall[];

No documentation.

external

readonly external: readonly {
    readonly name: string;
    readonly source: string;
}[];

Names the handler uses that are imported from another file; their calls are not followed.