angular router return back
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();
}
}
Also in JavaScript:
- javascript remove all spaces from string
- concat js mdn
- check if modal hide jquery
- elements under p5 canvas
- access django template variable in javascript
- jquery ajax endpoint
- javascript create 2d array
- how to call function from another js file in react native
- how to do basic authentication with fetch api
- how to convert a number to a string in javascript
- how to push multiple data to different parents in a single request in firebase
- file picker electron
- property 'auth' does not exist on type 'angularfireauth' angular
- how to create tab component in jquery
- javascript get first character of string
- compare string length javascript
- json to array javascript
- javascript text new line
- multiple conditions for JavaScript .includes() method
- number format reactjs
- javascript floor
- aws lambda dynamodb nodejs scan
- intval js
- javascript array group by id