Files
2026-07-13 12:25:07 +08:00

27 lines
974 B
HTML

<!doctype html>
<html>
<head>
<script type="module" src="/node_modules/@perspective-dev/viewer-datagrid/dist/cdn/perspective-viewer-datagrid.js"></script>
<link rel="stylesheet" href="/node_modules/@perspective-dev/jupyterlab/dist/css/perspective-jupyterlab.css" />
<script type="module">
import { PerspectiveWidget } from "/node_modules/@perspective-dev/jupyterlab/dist/esm/lumino.js";
window.__WIDGET__ = new PerspectiveWidget();
document.getElementById("container").appendChild(window.__WIDGET__.node);
await import("/node_modules/@perspective-dev/test/load-viewer-csv.js");
</script>
<style>
perspective-viewer {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
</style>
</head>
<body>
<div id="container">hello</div>
</body>
</html>