Skip to content

Commit 71b5bac

Browse files
committed
Updates
1 parent 5357cef commit 71b5bac

19 files changed

+160
-7
lines changed

example/index.html

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,20 @@
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
77
<title>Example</title>
88
<script type="module" src="index.js" defer></script>
9+
<link href="index.css" rel="stylesheet">
910
</head>
1011

1112
<body>
1213
<!-- Load data.json every 5 seconds -->
13-
<div>
14+
<js-container>
1415
PROVIDER
1516
<js-provider id="provider" interval="5"></js-provider>
16-
<js-button disabled textTransform="uppercase" onClick="console.log('click');">Reload</js-button>
17-
</div>
18-
19-
TABLE
20-
<js-table-body id="table"></js-table-body>
17+
</js-container>
18+
<js-button textTransform="uppercase">Reload</js-button>
19+
<js-container>
20+
TABLE
21+
<js-table-body id="table"></js-table-body>
22+
</js-container>
2123
</body>
2224

2325
</html>

example/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
import '../src/core/core';
55
import '../src/element/element';
66

7+
// Styles
8+
import '../src/core/core.css';
9+
710
// Other
811
import './esbuild';
912
import './load';

0 commit comments

Comments
 (0)