MCPcopy Create free account
hub / github.com/danja/dogalog / previous

Method previous

src/tutorial/tutorialManager.js:69–75  ·  view source on GitHub ↗

* Go to previous step

()

Source from the content-addressed store, hash-verified

67 * Go to previous step
68 */
69 previous() {
70 if (this.currentStep > 0) {
71 this.currentStep--;
72 this.saveProgress();
73 this.emit('step', this.currentStep);
74 }
75 }
76
77 /**
78 * Skip to a specific step

Callers 2

createOverlayMethod · 0.80
setupEventListenersMethod · 0.80

Calls 2

saveProgressMethod · 0.95
emitMethod · 0.95

Tested by

no test coverage detected