Tooltip d.ts updated
parent
8167abdc0c
commit
c0a72cb6eb
|
@ -1,16 +1,6 @@
|
||||||
import { ObjectDirective } from 'vue';
|
import { DirectiveBinding, ObjectDirective } from 'vue';
|
||||||
|
|
||||||
declare const Tooltip: ObjectDirective;
|
export declare type TooltipDirectiveModifiers = {
|
||||||
|
|
||||||
/**
|
|
||||||
* 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.
|
* When present, it specifies that the component should be disabled.
|
||||||
* @defaultValue false
|
* @defaultValue false
|
||||||
|
@ -30,10 +20,24 @@ export interface TooltipProps {
|
||||||
*/
|
*/
|
||||||
escape?: boolean | undefined;
|
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
|
* @defaultValue true
|
||||||
*/
|
*/
|
||||||
fitContent?: boolean | undefined;
|
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;
|
export default Tooltip;
|
||||||
|
|
Loading…
Reference in New Issue