primevue-mirror/components/tooltip/Tooltip.d.ts

40 lines
955 B
TypeScript
Raw Normal View History

2022-09-06 12:03:37 +00:00
import { ObjectDirective } from 'vue';
declare const Tooltip: ObjectDirective;
2023-03-01 14:57:18 +00:00
/**
* Defines options of Tooltip.
* @group Model
*/
export interface TooltipProps {
/**
* Text of the tooltip.
*/
value?: string | undefined;
/**
* When present, it specifies that the component should be disabled.
* @defaultValue false
*/
disabled?: boolean | undefined;
/**
* When present, it adds a custom id to the tooltip.
*/
id?: string | undefined;
/**
* When present, it adds a custom class to the tooltip.
*/
class?: string | undefined;
/**
* When present, it adds a custom id to the tooltip.
* @defaultValue false
*/
escape?: boolean | undefined;
/**
* Automatically adjusts the element position when there is not enough space on the selected position.
* @defaultValue true
*/
fitContent?: boolean | undefined;
}
2022-09-06 12:03:37 +00:00
export default Tooltip;