*ngIf für html-Attribut in Angular2

<ion-navbar  hideBackButton >
  <ion-title> </ion-title>
  ...
  ...

Möchte ich hideBackButton werden, es bedingt und möchte ich nicht wiederholen Sie den gesamten Ionen-navbar element mit *ngIf.
Ist es möglich, sich zu bewerben *ngIf für hideBackButton-Attribut?

InformationsquelleAutor Mark Timothy | 2016-03-07

Schreibe einen Kommentar