Skip to content

@ralphschuler.webgl shader factory.<internal>.Location

github-actions edited this page Nov 26, 2023 · 1 revision

Interface: Location

@ralphschuler/webgl-shader-factory.<internal>.Location

The location (URL) of the object it is linked to. Changes done on it are reflected on the object it relates to. Both the Document and Window interface have such a linked Location, accessible via Document.location and Window.location respectively.

MDN Reference

Table of contents

Properties

Methods

Properties

ancestorOrigins

Readonly ancestorOrigins: DOMStringList

Returns a DOMStringList object listing the origins of the ancestor browsing contexts, from the parent browsing context to the top-level browsing context.

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:14468


hash

hash: string

Returns the Location object's URL's fragment (includes leading "#" if non-empty).

Can be set, to navigate to the same URL with a changed fragment (ignores leading "#").

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:14476


host

host: string

Returns the Location object's URL's host and port (if different from the default port for the scheme).

Can be set, to navigate to the same URL with a changed host and port.

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:14484


hostname

hostname: string

Returns the Location object's URL's host.

Can be set, to navigate to the same URL with a changed host.

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:14492


href

href: string

Returns the Location object's URL.

Can be set, to navigate to the given URL.

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:14500


origin

Readonly origin: string

Returns the Location object's URL's origin.

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:14507


pathname

pathname: string

Returns the Location object's URL's path.

Can be set, to navigate to the same URL with a changed path.

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:14515


port

port: string

Returns the Location object's URL's port.

Can be set, to navigate to the same URL with a changed port.

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:14523


protocol

protocol: string

Returns the Location object's URL's scheme.

Can be set, to navigate to the same URL with a changed scheme.

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:14531


search

search: string

Returns the Location object's URL's query (includes leading "?" if non-empty).

Can be set, to navigate to the same URL with a changed query (ignores leading "?").

MDN Reference

Defined in

node_modules/typescript/lib/lib.dom.d.ts:14539

Methods

assign

assign(url): void

Navigates to the given URL.

MDN Reference

Parameters

Name Type
url string | URL

Returns

void

Defined in

node_modules/typescript/lib/lib.dom.d.ts:14545


reload

reload(): void

Reloads the current page.

MDN Reference

Returns

void

Defined in

node_modules/typescript/lib/lib.dom.d.ts:14551


replace

replace(url): void

Removes the current page from the session history and navigates to the given URL.

MDN Reference

Parameters

Name Type
url string | URL

Returns

void

Defined in

node_modules/typescript/lib/lib.dom.d.ts:14557


toString

toString(): string

Returns

string

Defined in

node_modules/typescript/lib/lib.dom.d.ts:14501

Typescript Libraries

Modules

Namespaces

Clone this wiki locally