@festo-ui/angular 11.0.0-dev.935 → 11.0.0-dev.937
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.
|
@@ -1285,6 +1285,9 @@ class FngTooltipDirective {
|
|
|
1285
1285
|
this.close();
|
|
1286
1286
|
}
|
|
1287
1287
|
}
|
|
1288
|
+
if (changes?.['text'] && !changes['text'].firstChange && this.innerIsVisible === true) {
|
|
1289
|
+
this.refresh();
|
|
1290
|
+
}
|
|
1288
1291
|
}
|
|
1289
1292
|
ngOnDestroy() {
|
|
1290
1293
|
this.hide();
|
|
@@ -1326,9 +1329,14 @@ class FngTooltipDirective {
|
|
|
1326
1329
|
close() {
|
|
1327
1330
|
if (this.popoverRef != null) {
|
|
1328
1331
|
this.popoverRef.close();
|
|
1332
|
+
this.popoverRef = undefined;
|
|
1329
1333
|
}
|
|
1330
1334
|
this.innerIsVisible = false;
|
|
1331
1335
|
}
|
|
1336
|
+
refresh() {
|
|
1337
|
+
this.close();
|
|
1338
|
+
this.open();
|
|
1339
|
+
}
|
|
1332
1340
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: FngTooltipDirective, deps: [{ token: i0.ElementRef }, { token: FngPopoverService }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1333
1341
|
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.11", type: FngTooltipDirective, isStandalone: true, selector: "[fngTooltip]", inputs: { text: ["fngTooltip", "text"], isVisible: ["fngTooltipVisible", "isVisible"], positions: ["fngTooltipPositions", "positions"], options: ["fngTooltipOptions", "options"] }, host: { listeners: { "mouseenter": "show()", "mouseleave": "hide()" } }, usesOnChanges: true, ngImport: i0 }); }
|
|
1334
1342
|
}
|