refactoring

This commit is contained in:
Frank Knoll
2024-07-14 20:40:25 +02:00
parent e68f284d6e
commit c302dedd05
5 changed files with 20 additions and 20 deletions

View File

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