MCPcopy
hub / github.com/tldraw/tldraw / getCurrentPageState

Method getCurrentPageState

packages/editor/src/lib/editor/Editor.ts:2000–2002  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1998 * @public
1999 */
2000 @computed getCurrentPageState(): TLInstancePageState {
2001 return this.store.get(this._getCurrentPageStateId())!
2002 }
2003
2004 /** @internal */
2005 @computed private _getCurrentPageStateId() {

Callers 15

getSelectedShapeIdsMethod · 0.95
setSelectedShapesMethod · 0.95
getFocusedGroupIdMethod · 0.95
setFocusedGroupMethod · 0.95
getEditingShapeIdMethod · 0.95
getHoveredShapeIdMethod · 0.95
getHintingShapeIdsMethod · 0.95
getErasingShapeIdsMethod · 0.95
getCroppingShapeIdMethod · 0.95
componentMethod · 0.80

Calls 2

getMethod · 0.65

Tested by 1

allOkFunction · 0.64