mirror of
https://git.roussel.pro/telecom-paris/pact.git
synced 2026-02-09 02:20:17 +01:00
ajout page d'attente
This commit is contained in:
@@ -17,10 +17,12 @@ class CameraPage {
|
||||
this._startup();
|
||||
this._loadImages();
|
||||
this._enabled = false;
|
||||
this.DOMElement = document.getElementById("camera");
|
||||
}
|
||||
|
||||
set enabled(val) {
|
||||
this._enabled = val;
|
||||
this.DOMElement.style.display = val ? "block" : "none";
|
||||
if (val) {
|
||||
this._frame();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user