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

    Interface ViewOptions

    The configuration of the element as a view sees it.

    interface ViewOptions {
        config: Readonly<Record<string, unknown>>;
        attribute(name: string): string | null;
        viewAttribute?(name: string): string | null;
    }
    Index

    Properties

    Methods

    Properties

    config: Readonly<Record<string, unknown>>

    The merged configuration, by key.

    Methods

    • An attribute of the <trace-visualizer> element, or null when it is absent.

      Parameters

      • name: string

      Returns string | null

    • An attribute of the view's own <trace-view> child; null when absent or when there is no child. Wins over the element and the config.

      Parameters

      • name: string

      Returns string | null