What does the (*navbar) in ion-navbar do?



I have a question about <ion-navbar>

What is the difference between <ion-navbar> and <ion-navbar *navbar>
What does the (*navbar) attribute do?



* indicates that this directive treats this component as a template and will not draw it as-is. For example, ngFor takes our <my-component> and stamps it out for each item in items, but it never renders our initial <my-component> since it’s a template:

<my-component *ngFor="#item of items">
Other similar directives that work on templates rather than rendered components are *ngIf and *ngSwitch.

If I understand correctly, the *navbar tells the navbar component that the ion-navbar tag should be replaced by the template rather than rendered inside it.