()
| 900 | } |
| 901 | |
| 902 | #ensureSearchParamsUpdated() { |
| 903 | // URL is updated lazily to greatly improve performance when URLSearchParams is updated repeatedly. |
| 904 | // If URLSearchParams has been modified, reflect that back into URL, without cascading back. |
| 905 | if (this.#searchParamsModified) { |
| 906 | this.#searchParamsModified = false; |
| 907 | this.#updateContext(bindingUrl.update(this.#context.href, updateActions.kSearch, this.#getSearchFromParams())); |
| 908 | } |
| 909 | } |
| 910 | |
| 911 | /** |
| 912 | * Update the internal context state for URL. |
no test coverage detected