Tooltip d.ts updated

pull/3699/head
mertsincan 2023-03-02 09:31:36 +00:00
parent 8167abdc0c
commit c0a72cb6eb
1 changed files with 17 additions and 13 deletions

View File

@ -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;