10 examples of 'backbone history back' in JavaScript

Every line of 'backbone history back' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your JavaScript code is secure.

All examples are scanned by Snyk Code

By copying the Snyk Code Snippets you agree to
65function forward(steps = 1) {
66 if (canGoForward(steps)) {
67 currentPosition += steps;
68 } else {
69 currentPosition = historyData.length - 1;
70 }
71
72 process.nextTick(notifyListeners);
73 return current();
74}
35back() {
36 if (this.backStack.length < 2) return
37 let n = this.backStack.pop()
38 log('navigateBack', n)
39 this.fwdStack.push(n)
40 this.notify()
41}
67forward() {
68 this.go(1)
69}
107canGoBack() {
108 return this.canGo(-1);
109}
61back(){
62
63 History.back();
64}
51back() {
52 window.history.back()
53}
100back(): void {
101 this.platformStrategy.back();
102}
70back () {
71 history.back()
72}
113back() {
114 history.goBack()
115}
74$forward(success: number) {
75 window.history.forward();
76 this._rnctx.invokeCallback(success, [true]);
77}

Related snippets