refactoring

This commit is contained in:
Frank Knoll
2024-07-14 21:39:49 +02:00
parent c9b76253ff
commit d1d9d29651
5 changed files with 6 additions and 7 deletions

16
docs/URLSearchParam.js Normal file
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);
}
}