@haiilo/catalyst-angular 13.0.1 → 13.0.3
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.
- package/esm2020/lib/tooltip/tooltip.directive.mjs +10 -4
- package/fesm2015/haiilo-catalyst-angular.mjs +9 -3
- package/fesm2015/haiilo-catalyst-angular.mjs.map +1 -1
- package/fesm2020/haiilo-catalyst-angular.mjs +9 -3
- package/fesm2020/haiilo-catalyst-angular.mjs.map +1 -1
- package/lib/tooltip/tooltip.directive.d.ts +4 -2
- package/package.json +3 -3
|
@@ -1486,13 +1486,19 @@ class CatTooltipDirective {
|
|
|
1486
1486
|
this.viewContainer = viewContainer;
|
|
1487
1487
|
}
|
|
1488
1488
|
ngOnInit() {
|
|
1489
|
-
this.viewContainer.createComponent(CatTooltip, {
|
|
1489
|
+
this.component = this.viewContainer.createComponent(CatTooltip, {
|
|
1490
1490
|
projectableNodes: [this.viewContainer.createEmbeddedView(this.templateRef).rootNodes]
|
|
1491
|
-
})
|
|
1491
|
+
});
|
|
1492
|
+
this.component.instance.content = this.catTooltip;
|
|
1493
|
+
}
|
|
1494
|
+
ngOnChanges() {
|
|
1495
|
+
if (this.component) {
|
|
1496
|
+
this.component.instance.content = this.catTooltip;
|
|
1497
|
+
}
|
|
1492
1498
|
}
|
|
1493
1499
|
}
|
|
1494
1500
|
CatTooltipDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatTooltipDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1495
|
-
CatTooltipDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: CatTooltipDirective, selector: "[catTooltip]", inputs: { catTooltip: "catTooltip" }, ngImport: i0 });
|
|
1501
|
+
CatTooltipDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: CatTooltipDirective, selector: "[catTooltip]", inputs: { catTooltip: "catTooltip" }, usesOnChanges: true, ngImport: i0 });
|
|
1496
1502
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CatTooltipDirective, decorators: [{
|
|
1497
1503
|
type: Directive,
|
|
1498
1504
|
args: [{
|