mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 09:22:34 +00:00
Refactor
This commit is contained in:
parent
c0a72cb6eb
commit
7c1790921f
2 changed files with 13 additions and 10 deletions
|
@ -1,14 +1,11 @@
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* OrganizationChart visualizes hierarchical organization data.
|
* OrganizationChart visualizes hierarchical organization data.
|
||||||
*@todo
|
|
||||||
* Helper API:
|
|
||||||
*
|
*
|
||||||
* - OrganizationChartNode
|
* [Live Demo](https://primevue.org/organizationchart)
|
||||||
*
|
|
||||||
* - [Live Demo](https://primevue.org/organizationchart)
|
|
||||||
*
|
*
|
||||||
* @module organizationchart
|
* @module organizationchart
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
import { VNode } from 'vue';
|
import { VNode } from 'vue';
|
||||||
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
||||||
|
|
16
components/tooltip/Tooltip.d.ts
vendored
16
components/tooltip/Tooltip.d.ts
vendored
|
@ -1,6 +1,10 @@
|
||||||
import { DirectiveBinding, ObjectDirective } from 'vue';
|
import { DirectiveBinding, ObjectDirective } from 'vue';
|
||||||
|
|
||||||
export declare type TooltipDirectiveModifiers = {
|
export interface TooltipOptions {
|
||||||
|
/**
|
||||||
|
* 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
|
||||||
|
@ -24,15 +28,17 @@ export declare type TooltipDirectiveModifiers = {
|
||||||
* @defaultValue true
|
* @defaultValue true
|
||||||
*/
|
*/
|
||||||
fitContent?: boolean | undefined;
|
fitContent?: boolean | undefined;
|
||||||
};
|
}
|
||||||
|
|
||||||
|
export declare type TooltipDirectiveModifiers = {};
|
||||||
|
|
||||||
export interface TooltipDirectiveBinding extends Omit<DirectiveBinding, 'modifiers' | 'value'> {
|
export interface TooltipDirectiveBinding extends Omit<DirectiveBinding, 'modifiers' | 'value'> {
|
||||||
/**
|
/**
|
||||||
* Text of the tooltip.
|
* Value of the tooltip.
|
||||||
*/
|
*/
|
||||||
value?: string | undefined;
|
value?: string | TooltipOptions | undefined;
|
||||||
/**
|
/**
|
||||||
* Tooltip modifiers
|
* Modifiers of the tooltip.
|
||||||
* @type {TooltipDirectiveModifiers}
|
* @type {TooltipDirectiveModifiers}
|
||||||
*/
|
*/
|
||||||
modifiers?: TooltipDirectiveModifiers | undefined;
|
modifiers?: TooltipDirectiveModifiers | undefined;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue