mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 09:22:34 +00:00
TooltipProps added
This commit is contained in:
parent
50e643710d
commit
5de42d4ebe
1 changed files with 34 additions and 0 deletions
34
components/tooltip/Tooltip.d.ts
vendored
34
components/tooltip/Tooltip.d.ts
vendored
|
@ -2,4 +2,38 @@ import { ObjectDirective } from 'vue';
|
|||
|
||||
declare const Tooltip: ObjectDirective;
|
||||
|
||||
/**
|
||||
* 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;
|
||||
}
|
||||
|
||||
export default Tooltip;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue