Merge branch 'main' into theme-name-as-data-attr-7.2

This commit is contained in:
Art Lowel
2022-12-06 17:58:46 +01:00
1674 changed files with 96813 additions and 41075 deletions

View File

@@ -53,6 +53,9 @@ export abstract class ThemedComponent<T> implements OnInit, OnDestroy, OnChanges
// if an input or output has changed
if (this.inAndOutputNames.some((name: any) => hasValue(changes[name]))) {
this.connectInputsAndOutputs();
if (this.compRef?.instance && 'ngOnChanges' in this.compRef.instance) {
(this.compRef.instance as any).ngOnChanges(changes);
}
}
}