()
| 70 | * Get detailed touch capabilities |
| 71 | */ |
| 72 | export function getTouchCapabilities(): TouchCapabilities { |
| 73 | if (typeof window === 'undefined') { |
| 74 | return NO_TOUCH_CAPABILITIES; |
| 75 | } |
| 76 | |
| 77 | return getTouchCapabilitiesFromEnvironment(getCurrentTouchEnvironment()); |
| 78 | } |
| 79 | |
| 80 | /** |
| 81 | * Hook to detect whether touch mode should be active. |
nothing calls this directly
no test coverage detected