mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 01:12:37 +00:00
Tooltip d.ts updated
This commit is contained in:
parent
8167abdc0c
commit
c0a72cb6eb
1 changed files with 17 additions and 13 deletions
30
components/tooltip/Tooltip.d.ts
vendored
30
components/tooltip/Tooltip.d.ts
vendored
|
@ -1,16 +1,6 @@
|
|||
import { ObjectDirective } from 'vue';
|
||||
import { DirectiveBinding, ObjectDirective } from 'vue';
|
||||
|
||||
declare const Tooltip: ObjectDirective;
|
||||
|
||||
/**
|
||||
* Defines options of Tooltip.
|
||||
* @group Model
|
||||
*/
|
||||
export interface TooltipProps {
|
||||
/**
|
||||
* Text of the tooltip.
|
||||
*/
|
||||
value?: string | undefined;
|
||||
export declare type TooltipDirectiveModifiers = {
|
||||
/**
|
||||
* When present, it specifies that the component should be disabled.
|
||||
* @defaultValue false
|
||||
|
@ -30,10 +20,24 @@ export interface TooltipProps {
|
|||
*/
|
||||
escape?: boolean | undefined;
|
||||
/**
|
||||
* Automatically adjusts the element position when there is not enough space on the selected position.
|
||||
* Automatically adjusts the element position when there is not enough space on the selected position.
|
||||
* @defaultValue true
|
||||
*/
|
||||
fitContent?: boolean | undefined;
|
||||
};
|
||||
|
||||
export interface TooltipDirectiveBinding extends Omit<DirectiveBinding, 'modifiers' | 'value'> {
|
||||
/**
|
||||
* Text of the tooltip.
|
||||
*/
|
||||
value?: string | undefined;
|
||||
/**
|
||||
* Tooltip modifiers
|
||||
* @type {TooltipDirectiveModifiers}
|
||||
*/
|
||||
modifiers?: TooltipDirectiveModifiers | undefined;
|
||||
}
|
||||
|
||||
declare const Tooltip: ObjectDirective;
|
||||
|
||||
export default Tooltip;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue