(search: string)
| 49 | } |
| 50 | |
| 51 | export function shouldEnableEmbedModeFromSearch(search: string): boolean { |
| 52 | return isEnabledQueryFlag(new URLSearchParams(search).get('embed')); |
| 53 | } |
| 54 | |
| 55 | export function getTouchModeUrlActionFromSearch(search: string): TouchModeStartupAction | null { |
| 56 | const touchParam = new URLSearchParams(search).get('touch'); |
no test coverage detected