@cascadiajs/discord-mirror
Version:
A web component for displaying current activity within a Discord Channel
17 lines (16 loc) • 601 B
JavaScript
import { Component, h } from '@stencil/core';
export class LoadingIndicator {
render() {
return (h("div", { class: "loading-container" },
h("span", { class: "loading-text", part: "loading-text" }, "Connecting to Discord"),
h("div", { class: "loading-spinner", "aria-hidden": "true", part: "loading-spinner" })));
}
static get is() { return "loading-indicator"; }
static get encapsulation() { return "shadow"; }
static get originalStyleUrls() { return {
"$": ["loading-indicator.css"]
}; }
static get styleUrls() { return {
"$": ["loading-indicator.css"]
}; }
}