a whole load of work in progress
This commit is contained in:
parent
caec0b8ac9
commit
26ba098183
63 changed files with 3234 additions and 321 deletions
18
static/throbber.js
Normal file
18
static/throbber.js
Normal file
|
@ -0,0 +1,18 @@
|
|||
export class Throbber extends HTMLElement {
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
|
||||
connectedCallback() {}
|
||||
|
||||
beginLoading() {
|
||||
this.className = "loading";
|
||||
}
|
||||
|
||||
showError(message) {
|
||||
this.className = "error";
|
||||
this.textContent = message;
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define("rkgk-throbber", Throbber);
|
Loading…
Add table
Add a link
Reference in a new issue