MCPcopy Index your code
hub / github.com/ColmapView/Colmapview.github.io / shouldEnableEmbedModeFromSearch

Function shouldEnableEmbedModeFromSearch

src/appStartupPolicy.ts:51–53  ·  view source on GitHub ↗
(search: string)

Source from the content-addressed store, hash-verified

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

Callers 2

AppFunction · 0.90

Calls 2

isEnabledQueryFlagFunction · 0.85
getMethod · 0.80

Tested by

no test coverage detected