Type Alias TooltipPosition

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

Object defining the tooltip position

Type declaration

  • left: number

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

  • Optionalposition?: 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