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

Method flipCallback

src/components/flipper.ts:303–309  ·  view source on GitHub ↗

* Fired after flipping in any direction

()

Source from the content-addressed store, hash-verified

301 * Fired after flipping in any direction
302 */
303 private flipCallback(): void {
304 if (this.iterator.currentItem) {
305 this.iterator.currentItem.scrollIntoViewIfNeeded();
306 }
307
308 this.flipCallbacks.forEach(cb => cb());
309 }
310}

Callers 2

flipLeftMethod · 0.95
flipRightMethod · 0.95

Calls 2

forEachMethod · 0.80

Tested by

no test coverage detected