This website requires JavaScript.
Odkrywaj
Pomoc
Zarejestruj się
Zaloguj się
mirror
/
Tldraw
kopia lustrzana
https://github.com/Tldraw/Tldraw
Obserwuj
1
Polub
0
Forkuj
You've already forked Tldraw
0
Kod
Zgłoszenia
Projekty
Wydania
Wiki
Aktywność
d22b31000e
Tldraw
/
components
/
code-panel
/
example-code.ts
9 wiersze
96 B
TypeScript
Czysty
Zwykły widok
Historia
Unescape
Escape
Adds code editing and shape generation
2021-05-15 13:02:13 +00:00
export
default
`
new Circle({
point
:
[
200
,
200
]
,
}
)
adds hit testing for hovers
2021-05-14 22:56:41 +00:00
Adds code editing and shape generation
2021-05-15 13:02:13 +00:00
new
Rectangle
(
{
point
:
[
400
,
300
]
,
}
)
adds hit testing for hovers
2021-05-14 22:56:41 +00:00
`