32 lines
842 B
HTML
32 lines
842 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Syndicate: Table Example</title>
|
|
<meta charset="utf-8">
|
|
<script src="node_modules/@syndicate-lang/core/dist/syndicate.js"></script>
|
|
<script src="node_modules/@syndicate-lang/html/dist/syndicate-html.js"></script>
|
|
</head>
|
|
<body>
|
|
<h1>Table Example</h1>
|
|
<table id="the-table">
|
|
<tbody>
|
|
<tr>
|
|
<th data-column="0">ID</th>
|
|
<th data-column="1">First Name</th>
|
|
<th data-column="2">Last Name</th>
|
|
<th data-column="3">Address</th>
|
|
<th data-column="4">Age</th>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<p>
|
|
Click on column headings to sort data rows.
|
|
</p>
|
|
<p>
|
|
Source code: <a href="src/index.ts">index.ts</a>
|
|
</p>
|
|
<div id="extra"></div>
|
|
<script src="index.js"></script>
|
|
</body>
|
|
</html>
|