Updated client documentation

This commit is contained in:
l_samenv
2024-09-10 11:32:24 +02:00
parent 784d3f16fc
commit 601ebf67ee
4 changed files with 67 additions and 29 deletions

View File

@ -53,10 +53,4 @@ class Control extends HTMLElement{
}
}
customElements.define("sea-control", Control)
/*
connectedCallback : called when first added
disconnectedCallback : called when removed
attributeChangedCallback : called when attribute changes. attribute to be added in observedAttributes
*/
customElements.define("sea-control", Control)

View File

@ -7,7 +7,7 @@ class CurvesSettingsPopup extends HTMLElement{
initTable(){
let userConfiguration = getUserConfiguration();
let userConfiguration = getUserConfiguration(); //located in SEAWebClientLocalStorage.js
let tbody = this.querySelector("#curves-settings-popup-table tbody");
tbody.innerHTML = "";
@ -25,7 +25,7 @@ class CurvesSettingsPopup extends HTMLElement{
let formattedUserConfiguration = this.getFormattedUserConfiguration(localStorageBuffer);
localStorage.clear();
saveUserConfiguration(localStorageBuffer);
saveUserConfiguration(localStorageBuffer); //located in SEAWebClientLocalStorage.js
this.hide();
this.applySettingsCallback(formattedUserConfiguration);