ngswitch is an event that can be triggered on any user action code example Example: *ngSwitch ... ... ... ...