Back to Black Site Map Editor
SOURCE / PINNED RELEASE

Made of little things.

Black Site Map Editor

Release
32a57733b7e9…
Author-recorded commit
3f54890f542f…
License
LICENSE
Author’s source reference
nostr://npub1ye5ptcxfyyxl5vjvdjar2ua3f0hynkjzpx552mu5snj3qmx5pzjscpknpr/wss%3A%2F%2Fgit.shakespeare.diy%2F/black-site-map-editor

Archive hash verified: 7a4b1abbac7db5b0…. The source-to-build association is the author’s claim; it has not been independently rebuilt.

src/components/bs-status.ts
import { html } from 'lit';
import { editor } from '../editor-controller';
import { LightElement } from './light-element';

export class BsStatus extends LightElement {
    constructor() {
        super();
        this.watch((s) => s.status);
    }
    render() {
        const { message, kind } = editor.state.status;
        return html`<div id="status" class="status ${kind}" role="status" aria-live="polite">
            ${message}
        </div>`;
    }
}
customElements.define('bs-status', BsStatus);