refactoring

This commit is contained in:
Frank Knoll
2024-07-14 01:41:55 +02:00
parent d8e63b2a7c
commit b143949798
2 changed files with 23 additions and 4 deletions

View File

@@ -0,0 +1,16 @@
class SearchParam {
#name;
constructor(name) {
this.#name = name;
}
get() {
return UIUtils.getSearchParamOfCurrentUrl(this.#name);
}
set(value) {
UIUtils.setSearchParamOfCurrentUrl(this.#name, value);
}
}