mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
11 lines
258 B
TypeScript
11 lines
258 B
TypeScript
import { Panel } from "./panel";
|
|
|
|
export class ConnectionStatusPanel extends Panel {
|
|
constructor(ID: string) {
|
|
super(ID);
|
|
}
|
|
|
|
update(connected: boolean) {
|
|
this.getElement().toggleAttribute( "data-is-connected", connected );
|
|
}
|
|
} |