MCPcopy
hub / github.com/codex-team/editor.js / previous

Method previous

src/components/domIterator.ts:95–97  ·  view source on GitHub ↗

* Sets cursor before current

()

Source from the content-addressed store, hash-verified

93 * Sets cursor before current
94 */
95 public previous(): void {
96 this.cursor = this.leafNodesAndReturnIndex(DomIterator.directions.LEFT);
97 }
98
99 /**
100 * Sets cursor to the default position and removes CSS-class from previously focused item

Callers 1

flipLeftMethod · 0.80

Calls 1

Tested by

no test coverage detected