@engie-group/fluid-design-system-angular
Version:
Fluid Design System Angular
38 lines (37 loc) • 911 B
TypeScript
export type TooltipPlacement = 'left' | 'right' | 'top' | 'bottom';
export type TooltipArrowPlacement = 'start' | 'center' | 'end';
export declare class TooltipOptions {
/**
* Whether tooltip is inverse or no
*/
isInverse?: boolean;
/**
* Whether tooltip has arrow or no
*/
hasArrow: boolean;
/**
* Tooltip label, if you want custom content unset the label and place content as element children
* e.g: `<nj-tooltip>Your Content</nj-tooltip>`
*/
label?: string;
/**
* Tooltip id
*/
tooltipId?: string;
/**
* Tooltip placement
*/
placement: TooltipPlacement;
/**
* Tooltip arrow placement
*/
arrowPlacement: TooltipArrowPlacement;
/**
* Whether tooltip management is standalone
*/
isStandalone: boolean;
/**
* Whether tooltip is animated
*/
isAnimated: boolean;
}