package.dist.components.essentials.tooltip.d.ts Maven / Gradle / Ivy
import { Position } from '@carbon/utils-position';
import { Component } from '../component';
import { ChartModel } from '../../model/model';
import { RenderTypes } from '../../interfaces/enums';
export declare class Tooltip extends Component {
type: string;
renderType: RenderTypes;
isEventListenerAdded: boolean;
lastTriggeredEventType: string;
tooltip: any;
positionService: Position;
constructor(model: ChartModel, services: any, configs?: any);
handleShowTooltip: (e: any) => void;
handleHideTooltip: () => void;
addTooltipEventListener(): void;
removeTooltipEventListener(): void;
getItems(e: CustomEvent): any;
formatItems(items: any): any;
getTooltipHTML(formattedItems: any): string;
isDate(value: any): value is Date;
valueFormatter(value: number | Date, label: string): any;
render(animate?: boolean): void;
addOffsetByPlacement(position: any, placement: string, offset: number): any;
positionTooltip(e: CustomEvent): void;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy