<!-- 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; [setPage](./x-components.urlmutations.setpage.md)

## UrlMutations.setPage() method

Sets the new page.

**Signature:**

```typescript
setPage(page: number): void;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  page | number | The new page of the url. |

**Returns:**

void

