MCPcopy
hub / github.com/tldraw/tldraw / getSelectedShapeIds

Function getSelectedShapeIds

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

Source from the content-addressed store, hash-verified

32
33/** Read the currently selected shape ids. */
34export function getSelectedShapeIds(): Promise<string[]> {
35 return browser.execute(() => editor.getSelectedShapeIds())
36}
37
38/** The webview context id changes per platform/run; find it rather than hardcode. */
39export async function currentWebContext(): Promise<string> {

Callers 1

pinch.e2e.tsFile · 0.90

Calls 2

getSelectedShapeIdsMethod · 0.80
executeMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…