QGIS pan map in layout, simultaneously with items on top. Browse other questions tagged, Where developers & technologists share private knowledge with coworkers, Reach developers & technologists worldwide, Perfect answer, just fix the type 2 to: [ngClass]="{'my-class': step=='step1'}" With the '' int the class name, I was looking for the type four, but I'm wondering if I can add another class with another condition into that expression? Is there a trick for softening butter quickly? 2022 Moderator Election Q&A Question Collection. In Angular 9, https://angular.io/api/forms/FormGroupDirective#ngmodule, Making location easier for developers with new data primitives, Stop requiring only one assertion per unit test: Multiple assertions are fine, Mobile app infrastructure being decommissioned. We use Angular FormBuilder to create a FormGroup object (form property) which is then bound to the template