Mercurial > code > home > repos > homeauto
comparison service/wifi/src/index.ts @ 673:f2215949c0c9
build adjustments. now seems to read streamedgraph correctly.
Ignore-this: 2768ea249aefb81d4720607e815d77c1
author | drewp@bigasterisk.com |
---|---|
date | Tue, 31 Dec 2019 02:45:25 -0800 |
parents | |
children | 2b9865bf1737 |
comparison
equal
deleted
inserted
replaced
672:f424809cba8d | 673:f2215949c0c9 |
---|---|
1 console.log('p-1'); | |
2 import { PolymerElement, html } from '@polymer/polymer'; | |
3 import { customElement, property, computed } from '@polymer/decorators'; | |
4 import { N3Store } from "n3" | |
5 //import {* as wt} from './wifi-table'; | |
6 import { VersionedGraph, StreamedGraph } from "streamed-graph"; | |
7 export {DomBind} from '@polymer/polymer/lib/elements/dom-bind.js'; | |
8 console.log('p0'); | |
9 console.log('p1', StreamedGraph.name); | |
10 @customElement('wifi-display') | |
11 class WifiDisplay extends PolymerElement { | |
12 | |
13 @property({ type: Object }) | |
14 graph!: StreamedGraph; | |
15 | |
16 ready() { | |
17 super.ready(); | |
18 console.log('p2'); | |
19 // this.graph.addEventListener('change', this.redraw.bind(this)); | |
20 } | |
21 // redraw() { | |
22 // wt.render(this.graph.graph); | |
23 // } | |
24 static get template() { | |
25 return html`here`; | |
26 } | |
27 } | |
28 console.log('p3'); |