From e72e9f89185c5eca3d0be72b11049046176f5685 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Thu, 2 Mar 2023 13:54:16 +0300 Subject: [PATCH] Tooltip modifiers added to .d.ts --- components/tooltip/Tooltip.d.ts | 42 ++++++++++++++++++++++++++++++++- 1 file changed, 41 insertions(+), 1 deletion(-) diff --git a/components/tooltip/Tooltip.d.ts b/components/tooltip/Tooltip.d.ts index 34510bddc..7b9532aad 100755 --- a/components/tooltip/Tooltip.d.ts +++ b/components/tooltip/Tooltip.d.ts @@ -1,5 +1,8 @@ import { DirectiveBinding, ObjectDirective } from 'vue'; +/** + * Defines options of Tooltip. + */ export interface TooltipOptions { /** * Text of the tooltip. @@ -30,8 +33,35 @@ export interface TooltipOptions { fitContent?: boolean | undefined; } -export declare type TooltipDirectiveModifiers = {}; +/** + * Defines modifiers of Tooltip. + */ +export declare type TooltipDirectiveModifiers = { + /** + * Right position for Tooltip. + */ + right?: string | undefined; + /** + * Feft position for Tooltip. + */ + left?: string | undefined; + /** + * Top position for Tooltip. + */ + top?: string | undefined; + /** + * Bottom position for Tooltip. + */ + bottom?: string | undefined; + /** + * Focus event for Tooltip. + */ + focus?: string | undefined; +}; +/** + * Binding of Tooltip directive. + */ export interface TooltipDirectiveBinding extends Omit { /** * Value of the tooltip. @@ -44,6 +74,16 @@ export interface TooltipDirectiveBinding extends Omit