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

Method getFrame

packages/core/src/canvas/index.ts:109–111  ·  view source on GitHub ↗
(index?: number)

Source from the content-addressed store, hash-verified

107 }
108
109 getFrame(index?: number) {
110 return this.getFrames()[index || 0];
111 }
112
113 /**
114 * Get the main frame element of the canvas

Callers 1

index.tsFile · 0.80

Calls 1

getFramesMethod · 0.95

Tested by

no test coverage detected