MCPcopy Create free account
hub / github.com/UI5/webcomponents / getLocationHref

Function getLocationHref

packages/base/src/Location.ts:36–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34};
35
36const getLocationHref = () => {
37 if (isSSR) {
38 return "";
39 }
40
41 return window.location.href;
42};
43
44const getLocationSearch = () => {
45 return internals.search();

Callers 1

validateThemeRootFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…