Mercurial > code > home > repos > streamed-graph
view index.html @ 88:ac7ad087d474
graph view rewrites and fixes for the multi-subject table
author | drewp@bigasterisk.com |
---|---|
date | Tue, 30 Nov 2021 00:14:37 -0800 |
parents | 0c188ed3bcd8 |
children | faf7e432f089 |
line wrap: on
line source
<!DOCTYPE html> <html> <body> <h1>streamed-graph demo</h1> <script type="module" src="./build/demo.js"></script> <template> <streamed-graph url="http://bang:9075/graph/events" expanded="true" ></streamed-graph> </template> new style: <div id="demo"></div> <script type="module"> import { html, render } from 'lit'; import '../dist/src/graph-view.js'; const title = 'Hello owc World!'; render( html` <graph-view .title=${title}> some light-dom </graph-view> `, document.querySelector('#demo') ); </script> </body> </html>