@empathyco/x-components
Version:
Empathy X Components
24 lines (15 loc) • 836 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [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.