UNPKG

@empathyco/x-components

Version:
25 lines (14 loc) 650 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [SearchMutations](./x-components.searchmutations.md) &gt; [setOrigin](./x-components.searchmutations.setorigin.md) ## SearchMutations.setOrigin() method Sets the origin of the module. **Signature:** ```typescript setOrigin(origin: QueryOrigin | undefined | null): void; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | origin | [QueryOrigin](./x-components.queryorigin.md) \| undefined \| null | The new origin. | **Returns:** void