Answers for "button back"

0

html page back button

<form>
 <input type="button" value="Go back!" onclick="history.back()">
</form>
Posted by: Guest on May-22-2021
4

js go back

history.back()
Posted by: Guest on April-14-2020
0

Back Button

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();
  }
}
Posted by: Guest on June-15-2021

Browse Popular Code Answers by Language