Liking cljdoc? Tell your friends :D
ClojureScript only.

web.event.HashChangeEvent

The HashChangeEvent interface represents events that fire when fragment identifier of the URL has changed.

The HashChangeEvent interface represents events that fire when
fragment identifier of the URL has changed.
raw docstring

new-urlcljs

(new-url this)

Property.

[Read Only]

The newURL read-only property of the web.event.HashChangeEvent returns the new URL to which the window is navigating.

let newEventUrl = event.newURL;

See also: https://developer.mozilla.org/en-US/docs/Web/API/HashChangeEvent/newURL

Property.

[Read Only]

The newURL read-only property of the `web.event.HashChangeEvent`
returns the new URL to which the window is navigating.

`let newEventUrl = event.newURL;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/HashChangeEvent/newURL`
sourceraw docstring

old-urlcljs

(old-url this)

Property.

[Read Only]

The oldURL read-only property of the web.event.HashChangeEvent returns the previous URL from which the window was navigated.

let oldEventUrl = event.oldURL;

See also: https://developer.mozilla.org/en-US/docs/Web/API/HashChangeEvent/oldURL

Property.

[Read Only]

The oldURL read-only property of the `web.event.HashChangeEvent`
returns the previous URL from which the window was navigated.

`let oldEventUrl = event.oldURL;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/HashChangeEvent/oldURL`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close