MCPcopy
hub / github.com/tldraw/tldraw / getZoom

Function getZoom

apps/examples/e2e-device/helpers/app.ts:29–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27
28/** Read the current zoom level from the live editor. */
29export function getZoom(): Promise<number> {
30 return browser.execute(() => editor.getZoomLevel())
31}
32
33/** Read the currently selected shape ids. */
34export function getSelectedShapeIds(): Promise<string[]> {

Callers 1

pinch.e2e.tsFile · 0.90

Calls 2

getZoomLevelMethod · 0.80
executeMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…