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

    Interface TraceView

    A mounted view.

    interface TraceView {
        commands(): readonly ViewCommand[];
        focus?(): void;
        getState(): unknown;
        mount(surface: HTMLElement, ctx: ViewContext): void;
        optionsChanged(): void;
        reveal?(id: string): void;
        setState(state: unknown): void;
        themeChanged(): void;
        unmount(): void;
        update(change: ChangeSet): void;
    }
    Index

    Methods

    • Put the keyboard focus on the view, for the shell to hand it back after a panel or the filter bar.

      Returns void

    • Where the view looks, to restore it when it is shown again. The value is the view's own.

      Returns unknown

    • Build the view inside surface, an element the view may fill and listen on.

      Parameters

      Returns void

    • Bring a span into view (it is already selected, with its ancestors expanded).

      Parameters

      • id: string

      Returns void

    • A --l2t-* token may have changed: read the theme again.

      Returns void

    • Remove everything the view added and stop its listeners.

      Returns void

    • The store changed. Only mark what is dirty; drawing waits for the frame.

      Parameters

      Returns void