interface TooltipOptions {
    className?: string;
    content?: string | HTMLElement | ((layer) => string) | ((layer) => HTMLElement);
    direction?: Direction;
    interactive?: boolean;
    offset?: PointExpression;
    opacity?: number;
    pane?: string;
    permanent?: boolean;
    sticky?: boolean;
}

Hierarchy

Properties

className?: string
content?: string | HTMLElement | ((layer) => string) | ((layer) => HTMLElement)

Type declaration

    • (layer): string
    • Parameters

      Returns string

Type declaration

direction?: Direction
interactive?: boolean
opacity?: number
pane?: string
permanent?: boolean
sticky?: boolean

Generated using TypeDoc