mwg API
    Preparing search index...

    Interface TooltipOptions

    interface TooltipOptions {
        delay?: number;
        margin?: number;
        maxWidth?: number;
        offset?: { x: number; y: number };
    }
    Index
    delay?: number

    seconds the pointer must rest before the tooltip appears; defaults to 0.4

    margin?: number

    kept this far from the viewport edge when clamped; defaults to 4

    maxWidth?: number

    width at which the text wraps; defaults to 200

    offset?: { x: number; y: number }

    where the panel sits relative to the anchor point, before clamping; defaults to 12,16