MCPcopy
hub / github.com/barbajs/barba / getHref

Function getHref

packages/core/src/utils/url.ts:19–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17 * Get location href.
18 */
19export const getHref = () => window.location.href;
20
21/**
22 * Get absolute href from URL.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected