Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/tldraw/tldraw
/ getSelectedShapeIds
Method
getSelectedShapeIds
packages/editor/src/lib/editor/Editor.ts:2041–2043 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
2039
* @public
2040
*/
2041
@computed getSelectedShapeIds() {
2042
return
this.getCurrentPageState().selectedShapeIds
2043
}
2044
2045
/**
2046
* An array containing all of the currently selected shapes.
Callers
15
getSelectedShapes
Method · 0.95
isAncestorSelected
Method · 0.95
deselect
Method · 0.95
selectAll
Method · 0.95
selectAdjacentShape
Method · 0.95
selectNone
Method · 0.95
getSelectionPageBounds
Method · 0.95
getSelectionRotation
Method · 0.95
getSelectionRotatedPageBounds
Method · 0.95
getCulledShapes
Method · 0.95
getSelectedShapeAtPoint
Method · 0.95
getSharedStyles
Method · 0.95
Calls
1
getCurrentPageState
Method · 0.95
Tested by
5
init
Function · 0.64
onlySelectedId
Function · 0.64
dragOntoFrame
Function · 0.64
nudgeAndGet
Function · 0.64
measureLineBands
Function · 0.64