Answers for "refresh a particular div angular 7"

4

How to Reload a Component in Angular

reloadComponent() {
  let currentUrl = this.router.url;
      this.router.routeReuseStrategy.shouldReuseRoute = () => false;
      this.router.onSameUrlNavigation = 'reload';
      this.router.navigate([currentUrl]);
  }
Posted by: Guest on September-25-2020
0

reload a child component in angular

<child-component [someInput]="inputValue"></child-component>
Posted by: Guest on December-02-2020

Code answers related to "refresh a particular div angular 7"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language