Hide or show custom component

Hello,

I have a modalpage with a few custom components. I want show or hide my custom components by code in .ts.

What is the prefered way to do this in ionic/angular?

Thanks in advance, anna-liebt.

Binding either *ngIf (if you want them completely out of the DOM) or [hidden] to a boolean property in the controller.

Thanks.
Best regards, anna-liebt.