how to refresh page in angular 2

后端 未结 6 1411
情话喂你
情话喂你 2021-02-02 08:19

I have created one router link as below. This router link loads ProductsStartComponent and then this component loads several other components using ngif and not via

6条回答
  •  难免孤独
    2021-02-02 08:58

    Updated

    How to implement page refresh in Angular 2+ note this is done within your component:

    location.reload();
    

提交回复
热议问题