@brggroup/share-lib 0.0.32 → 0.0.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -944,6 +944,15 @@ class BaseComponent {
944
944
  getUrlData(key) {
945
945
  return this.route.snapshot.data[key];
946
946
  }
947
+ setQueryParam(name, value) {
948
+ this.router.navigate([], {
949
+ relativeTo: this.route,
950
+ queryParams: {
951
+ [name]: value,
952
+ },
953
+ queryParamsHandling: 'merge',
954
+ });
955
+ }
947
956
  get url() {
948
957
  return this.router.url;
949
958
  }