syndicate-js/packages/html/examples/table/index.html

35 lines
949 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>
<script src="index.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>
Syndicate.bootModule(Main.__SYNDICATE__bootProc);
</script>
</body>
</html>