ud-components 0.9.0 → 0.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -16,6 +16,11 @@ export declare class UdTooltipDirective implements OnDestroy {
|
|
|
16
16
|
readonly udTooltipPosition: import("@angular/core").InputSignal<UdTooltipPlacement>;
|
|
17
17
|
readonly udTooltipDisabled: import("@angular/core").InputSignal<boolean>;
|
|
18
18
|
readonly udTooltipShowDelay: import("@angular/core").InputSignal<number>;
|
|
19
|
+
/**
|
|
20
|
+
* Anchors the tooltip at the cursor instead of the host's centre. For a long
|
|
21
|
+
* element (a bar on a timeline), the centre can be far from where the pointer is.
|
|
22
|
+
*/
|
|
23
|
+
readonly udTooltipFollowPointer: import("@angular/core").InputSignal<boolean>;
|
|
19
24
|
private readonly overlay;
|
|
20
25
|
private readonly host;
|
|
21
26
|
private readonly viewContainerRef;
|
|
@@ -26,9 +31,12 @@ export declare class UdTooltipDirective implements OnDestroy {
|
|
|
26
31
|
private positionSub;
|
|
27
32
|
private showTimer;
|
|
28
33
|
private touchTimer;
|
|
34
|
+
private strategy;
|
|
35
|
+
private pointer;
|
|
29
36
|
private readonly onEscape;
|
|
30
37
|
constructor();
|
|
31
38
|
protected scheduleShow(): void;
|
|
39
|
+
protected onPointerMove(event: MouseEvent): void;
|
|
32
40
|
protected onFocusIn(): void;
|
|
33
41
|
protected onTouchStart(): void;
|
|
34
42
|
protected onTouchEnd(): void;
|
|
@@ -41,5 +49,5 @@ export declare class UdTooltipDirective implements OnDestroy {
|
|
|
41
49
|
private describe;
|
|
42
50
|
private clearTimers;
|
|
43
51
|
static ɵfac: i0.ɵɵFactoryDeclaration<UdTooltipDirective, never>;
|
|
44
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<UdTooltipDirective, "[udTooltip]", never, { "udTooltip": { "alias": "udTooltip"; "required": false; "isSignal": true; }; "udTooltipPosition": { "alias": "udTooltipPosition"; "required": false; "isSignal": true; }; "udTooltipDisabled": { "alias": "udTooltipDisabled"; "required": false; "isSignal": true; }; "udTooltipShowDelay": { "alias": "udTooltipShowDelay"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
52
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<UdTooltipDirective, "[udTooltip]", never, { "udTooltip": { "alias": "udTooltip"; "required": false; "isSignal": true; }; "udTooltipPosition": { "alias": "udTooltipPosition"; "required": false; "isSignal": true; }; "udTooltipDisabled": { "alias": "udTooltipDisabled"; "required": false; "isSignal": true; }; "udTooltipShowDelay": { "alias": "udTooltipShowDelay"; "required": false; "isSignal": true; }; "udTooltipFollowPointer": { "alias": "udTooltipFollowPointer"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
45
53
|
}
|