Angular 5 - Refresh a component (Not the whole page)

Viewed 2288

Right now, I have a button called: Reset Defaults

I'm calling (click)="onResetDefault()" within the button tag and I want the onResetDefault() method to just refresh that specific component and NOT the entire window (unlike location.reload(). How would I do that? Answers using practices of angular 2+ would be appreciated :)

1 Answers
Related