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