import { type Location } from "https://deno.land/x/deno@v1.40.5/cli/tsc/dts/lib.deno.window.d.ts";
The location (URL) of the object it is linked to. Changes done on it are
reflected on the object it relates to. Accessible via
globalThis.location
.
Properties
readonly
ancestorOrigins: DOMStringListReturns a DOMStringList object listing the origins of the ancestor browsing contexts, from the parent browsing context to the top-level browsing context.
Always empty in Deno.
Returns the Location object's URL's fragment (includes leading "#" if non-empty).
Cannot be set in Deno.
Returns the Location object's URL's host and port (if different from the default port for the scheme).
Cannot be set in Deno.
import { Location } from "https://deno.land/x/deno@v1.40.5/cli/tsc/dts/lib.deno.window.d.ts";
The location (URL) of the object it is linked to. Changes done on it are
reflected on the object it relates to. Accessible via
globalThis.location
.