MCPcopy Index your code
hub / github.com/DeepNotesApp/DeepNotes / goBackward

Method goBackward

apps/client/src/code/pages/pages.ts:324–334  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

322 }
323
324 async goBackward() {
325 const pageIndex = this.react.pathPageIds.indexOf(this.react.pageId!);
326
327 if (pageIndex > 0) {
328 await this.goToPage(
329 this.react.pathPageIds[
330 this.react.pathPageIds.indexOf(this.react.pageId!) - 1
331 ],
332 );
333 }
334 }
335
336 async goForward() {
337 const pageIndex = this.react.pathPageIds.indexOf(this.react.pageId!);

Callers 1

onKeyDownFunction · 0.80

Calls 1

goToPageMethod · 0.95

Tested by

no test coverage detected