@villedemontreal/angular-ui 13.3.0 → 13.3.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.
- package/esm2020/lib/button/button.component.mjs +2 -2
- package/fesm2015/villedemontreal-angular-ui.mjs +1 -1
- package/fesm2015/villedemontreal-angular-ui.mjs.map +1 -1
- package/fesm2020/villedemontreal-angular-ui.mjs +1 -1
- package/fesm2020/villedemontreal-angular-ui.mjs.map +1 -1
- package/lib/button/button.component.d.ts +3 -3
- package/package.json +1 -1
|
@@ -433,7 +433,7 @@ class BaoButtonComponent {
|
|
|
433
433
|
get nativeElement() {
|
|
434
434
|
return this.elementRef.nativeElement;
|
|
435
435
|
}
|
|
436
|
-
|
|
436
|
+
ngAfterContentInit() {
|
|
437
437
|
const childNodes = Array.from(this.nativeElement.childNodes);
|
|
438
438
|
const textIndex = childNodes.findIndex(c => c.nodeType === Node.TEXT_NODE);
|
|
439
439
|
this.noText = textIndex === -1;
|