createDeepLinkString
See source codeConverts a deep link descriptor to a url-safe string
function createDeepLinkString(deepLink: TLDeepLink): stringExample
const url = `https://example.com?d=${createDeepLinkString({ type: 'shapes', shapeIds: ['shape:1', 'shape:2'] })}`
navigator.clipboard.writeText(url)Parameters
| Name | Description | 
|---|---|
| 
 | the deep link descriptor | 
Returns
stringa url-safe string
Prev
counterClockwiseAngleDistNext
createSessionStateSnapshotSignal