Type Alias TooltipConfig

TooltipConfig: TooltipPosition & {
    className?: string;
    content: string;
    data?: any;
    style?: Record<string, string>;
}

Configuration for Viewer.createTooltip

Type declaration

  • OptionalclassName?: string

    Additional CSS class added to the tooltip

  • content: string

    HTML content of the tooltip

  • Optionaldata?: any

    Userdata associated to the tooltip

  • Optionalstyle?: Record<string, string>

    CSS properties added to the tooltip