Photo Sphere Viewer
    Preparing search index...

    Type Alias TooltipPosition

    Object defining the tooltip position

    type TooltipPosition = {
        left: number;
        position?: string | [string, string];
        top: number;
    }
    Index

    Properties

    Properties

    left: number

    Position of the tip of the arrow of the tooltip, in pixels

    position?: string | [string, string]

    Tooltip position toward it's arrow tip. Accepted values are combinations of top, center, bottom and left, center, right.

    top: number

    Position of the tip of the arrow of the tooltip, in pixels