This website requires JavaScript.
Explore
Help
Register
Sign in
PrivateCoffee
/
tldraw
Watch
4
Star
0
Fork
You've already forked tldraw
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
1
85dc3028b4
tldraw
/
components
/
code-panel
/
code-as-string.ts
10 lines
110 B
TypeScript
Raw
Normal View
History
Unescape
Escape
adds hit testing for hovers
2021-05-14 22:56:41 +00:00
// This is the code library.
export
default
`
restores code editor
2021-06-23 22:32:21 +00:00
class
Circle
{
greet
(
)
:
string
{
return
"Hello!"
}
}
adds hit testing for hovers
2021-05-14 22:56:41 +00:00
`
Reference in a new issue
Copy permalink