MCPcopy Create free account
hub / github.com/CSAILVision/gandissect / updateURLParam

Method updateURLParam

client/ts/etc/URLHandler.ts:92–96  ·  view source on GitHub ↗
(key: string, value: string | any[], addToBrowserHistory = true)

Source from the content-addressed store, hash-verified

90 }
91
92 static updateURLParam(key: string, value: string | any[], addToBrowserHistory = true) {
93 const currentParams = URLHandler.parameters;
94 currentParams[key] = value;
95 URLHandler.updateUrl(currentParams, addToBrowserHistory);
96 }
97
98 // /**
99 // * Generates a key-value map of all URL params and replaces replaceKeys

Callers 4

updateProjectSelectorFunction · 0.45
updateLayerSelectorFunction · 0.45
reset_allMethod · 0.45

Calls 1

updateUrlMethod · 0.45

Tested by

no test coverage detected