log2trace-ui - v1.0.0-rc.9
    Preparing search index...

    Interface ViewContext

    What the element gives a view when it mounts it.

    interface ViewContext {
        origin: string;
        store: TraceStore;
        hover(hit: ViewHit | null): void;
        options(): ViewOptions;
        refreshCommands(): void;
    }
    Index

    Properties

    origin: string

    Names this view in the store: the changes it writes carry it, and it ignores their echoes.

    store: TraceStore

    Shared trace store holding loaded spans, selection, hover, collapse, filter, and window state.

    Methods

    • The pointer is over something (or over nothing, with null).

      Parameters

      Returns void

    • The commands' readouts or enabled state changed: the toolbar should read them again.

      Returns void