Directive modifiers update

pull/3699/head
Tuğçe Küçükoğlu 2023-03-02 21:53:47 +03:00
parent af44e1017e
commit 6bb0ad1d60
2 changed files with 22 additions and 13 deletions

View File

@ -12,22 +12,26 @@ import { DirectiveBinding, ObjectDirective } from 'vue';
* Defines modifiers of Badge directive.
*/
export interface BadgeDirectiveModifiers {
/**
* Success severity for Badge directive.
*/
success?: string | undefined;
/**
* Info severity for Badge directive.
* @defaultValue true
*/
info?: string | undefined;
info?: boolean | undefined;
/**
* Success severity for Badge directive.
* @defaultValue false
*/
success?: boolean | undefined;
/**
* Warning severity for Badge directive.
* @defaultValue false
*/
warning?: string | undefined;
warning?: boolean | undefined;
/**
* Danger severity for Badge directive.
* @defaultValue false
*/
danger?: string | undefined;
danger?: boolean | undefined;
}
/**

View File

@ -48,24 +48,29 @@ export interface TooltipOptions {
export interface TooltipDirectiveModifiers {
/**
* Right position for Tooltip.
* @defaultValue true
*/
right?: string | undefined;
right?: boolean | undefined;
/**
* Feft position for Tooltip.
* Left position for Tooltip.
* @defaultValue false
*/
left?: string | undefined;
left?: boolean | undefined;
/**
* Top position for Tooltip.
* @defaultValue false
*/
top?: string | undefined;
top?: boolean | undefined;
/**
* Bottom position for Tooltip.
* @defaultValue false
*/
bottom?: string | undefined;
bottom?: boolean | undefined;
/**
* Focus event for Tooltip.
* @defaultValue true
*/
focus?: string | undefined;
focus?: boolean | undefined;
}
/**