<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [UrlMutations](./x-components.urlmutations.md) &gt; [setParams](./x-components.urlmutations.setparams.md)

## UrlMutations.setParams() method

Sets the new params.

**Signature:**

```typescript
setParams(params: Partial<UrlParams>): void;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  params | Partial&lt;[UrlParams](./x-components.urlparams.md)<!-- -->&gt; | The new params of the Url. |

**Returns:**

void

