Consolidate Lit repositories: figma-to-lit, figma_lit_example, lit-3d-piano, lit-calculator, lit-code-editor, lit-draggable-dom, lit-file-based-routing, lit-force-graph, lit-html-editor, lit-html-table, lit-modules, lit-native, lit-node-editor, lit-sheet-music, lit-starter-ts, lit-vscode-extension, lit-wmr, vite-lit-capacitor, vite-lit-element-starter, vite-rxdb-lit
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" type="image/svg+xml" href="/src/favicon.svg" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Lit Draggable DOM</title>
|
||||
<style>
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
}
|
||||
</style>
|
||||
<script type="module" src="/src/draggable-dom.ts"></script>
|
||||
</head>
|
||||
<body>
|
||||
<draggable-dom>
|
||||
<img
|
||||
src="https://lit.dev/images/logo.svg"
|
||||
alt="Lit Logo"
|
||||
width="500"
|
||||
height="333"
|
||||
style="--dx: 59.4909px; --dy: 32.8429px"
|
||||
/>
|
||||
<svg width="400" height="110" style="--dx: 230.057px; --dy: 33.6257px">
|
||||
<rect
|
||||
width="400"
|
||||
height="100"
|
||||
style="fill: rgb(0, 0, 255); stroke-width: 3; stroke: rgb(0, 0, 0)"
|
||||
/>
|
||||
</svg>
|
||||
<svg height="100" width="100">
|
||||
<circle
|
||||
cx="50"
|
||||
cy="50"
|
||||
r="40"
|
||||
stroke="black"
|
||||
stroke-width="3"
|
||||
fill="red"
|
||||
/>
|
||||
</svg>
|
||||
</draggable-dom>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user