import debug from "debug"; import { css, html, LitElement } from "lit"; import { customElement, property } from "lit/decorators.js"; import { NamedNode } from "n3"; export { ResourceDisplay } from "../../web/ResourceDisplay"; const log = debug("device-el"); @customElement("light9-collector-device") export class Light9CollectorDevice extends LitElement { static styles = [ css` :host { display: block; break-inside: avoid-column; font-size: 80%; } h3 { margin-top: 12px; margin-bottom: 0; } td { white-space: nowrap; } td.nonzero { background: #310202; color: #e25757; } td.full { background: #2b0000; color: red; font-weight: bold; } `, ]; render() { return html`
out attr | value | chan |
---|---|---|
${item.attr} | ${item.val} → | ${item.chan} |