MCPcopy
hub / github.com/GrapesJS/grapesjs / getStack

Method getStack

packages/core/src/undo_manager/index.ts:311–313  ·  view source on GitHub ↗

* Get stack of changes * @return {Collection} * @example * const stack = um.getStack(); * stack.each(item => ...);

()

Source from the content-addressed store, hash-verified

309 * stack.each(item => ...);
310 */
311 getStack(): any[] {
312 return this.um.stack;
313 }
314
315 /**
316 * Get grouped undo manager stack.

Callers 5

getStackGroupMethod · 0.95
getGroupedStackMethod · 0.95
getPointerMethod · 0.95
index.tsFile · 0.80
index.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected