<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [TakeNavigationControl](./x-components.takenavigationcontrol.md)

## TakeNavigationControl type

Represents when to take control of the navigation.

**Signature:**

```typescript
export type TakeNavigationControl = {
    xEvent: PropsWithType<XEventsTypes, ArrowKey>;
    moduleName: XModuleName;
    direction: ArrowKey;
};
```
**References:** [PropsWithType](./x-components.propswithtype.md)<!-- -->, [XEventsTypes](./x-components.xeventstypes.md)<!-- -->, [ArrowKey](./x-components.arrowkey.md)<!-- -->, [XModuleName](./x-components.xmodulename.md)

## Remarks

The [XEvent](./x-components.xevent.md) refers to the event the component has to listen to.

