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

    Interface ViewHit

    The element a pointer rests on, as the page needs to describe it.

    interface ViewHit {
        anchor: { h: number; w: number; x: number; y: number };
        bounds: { height: number; width: number };
        key: string;
        info(): InfoModel | null;
    }
    Index

    Properties

    Methods

    Properties

    anchor: { h: number; w: number; x: number; y: number }

    The element's box in the coordinates of the view's surface.

    Type Declaration

    • Readonlyh: number

      Height in surface CSS pixels.

    • Readonlyw: number

      Width in surface CSS pixels.

    • Readonlyx: number

      Left edge in surface CSS pixels.

    • Readonlyy: number

      Top edge in surface CSS pixels.

    bounds: { height: number; width: number }

    Size of the surface, so the tooltip can stay inside it.

    Type Declaration

    • Readonlyheight: number

      Surface height in CSS pixels.

    • Readonlywidth: number

      Surface width in CSS pixels.

    key: string

    Identifies what is shown, so the content is rebuilt only when it changes.

    Methods