Question : Back Button
Answered by : vast-vole-20re3j7vwgvf
import {Component} from '@angular/core';
import {Location} from '@angular/common';
@Component({ // component's declarations here
})
class SomeComponent { constructor(private _location: Location) {} backClicked() { this._location.back(); }
}
Source : https://stackoverflow.com/questions/35446955/how-to-go-back-last-page | Last Update : Tue, 22 Jun 21