Skip to content

Commit 9be210b

Browse files
committed
feat: new interface and tiny perf improvements to plaited
1 parent 3d8a3d1 commit 9be210b

File tree

5 files changed

+656
-254
lines changed

5 files changed

+656
-254
lines changed

frameworks/keyed/plaited/index.html

Lines changed: 2 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -5,61 +5,11 @@
55
<meta charset="utf-8" />
66
<title>Plaited-"keyed"</title>
77
<link href="/css/currentStyle.css" rel="stylesheet" preload />
8+
<script src='dist/main.js'></script>
89
</head>
910

1011
<body>
11-
<benchmark-island>
12-
<template shadowrootmode="open" shadowrootdelegatesfocus>
13-
<link href="/css/currentStyle.css" rel="stylesheet" />
14-
<div class="container">
15-
<div class="jumbotron">
16-
<div class="row">
17-
<div class="col-md-6">
18-
<h1>Plaited-"keyed"</h1>
19-
</div>
20-
<div class="col-md-6">
21-
<div class="row">
22-
<div class="col-sm-6 smallpad">
23-
<button type='button' class='btn btn-primary btn-block' id='run'
24-
data-trigger="click->run">Create 1,000
25-
rows</button>
26-
</div>
27-
<div class="col-sm-6 smallpad">
28-
<button type='button' class='btn btn-primary btn-block' id='runlots'
29-
data-trigger="click->runLots">Create 10,000
30-
rows</button>
31-
</div>
32-
<div class="col-sm-6 smallpad">
33-
<button type='button' class='btn btn-primary btn-block' id='add'
34-
data-trigger="click->add">Append 1,000
35-
rows</button>
36-
</div>
37-
<div class="col-sm-6 smallpad">
38-
<button type='button' class='btn btn-primary btn-block' id='update'
39-
data-trigger="click->update">Update every 10th
40-
row</button>
41-
</div>
42-
<div class="col-sm-6 smallpad">
43-
<button type='button' class='btn btn-primary btn-block' id='clear'
44-
data-trigger="click->clear">Clear</button>
45-
</div>
46-
<div class="col-sm-6 smallpad">
47-
<button type='button' class='btn btn-primary btn-block' id='swaprows'
48-
data-trigger="click->swapRows">Swap Rows</button>
49-
</div>
50-
</div>
51-
</div>
52-
</div>
53-
</div>
54-
<table class="table table-hover table-striped test-data">
55-
<tbody id="tbody" data-trigger="click->interact" data-target='tbody'>
56-
</tbody>
57-
</table>
58-
<span class="preloadicon glyphicon glyphicon-remove" aria-hidden="true"></span>
59-
</div>
60-
</template>
61-
</benchmark-island>
62-
<script src='dist/main.js'></script>
12+
<js-benchmark></js-benchmark>
6313
</body>
6414

6515
</html>

0 commit comments

Comments
 (0)