package js.html
extends Event
Available on js
The HashChangeEvent
event is fired when the fragment identifier of the URL has changed (the part of the URL that follows the # symbol, including the # symbol).
Documentation HashChangeEvent by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See also:
new(type:String, ?eventInitDict:Null<HashChangeEventInit>)
Throws:
null |
DOMError |
---|
read onlynewURL:String
The new URL to which the window is navigating.
read onlyoldURL:String
The previous URL from which the window was navigated.
initHashChangeEvent(typeArg:String, canBubbleArg:Bool = false, cancelableArg:Bool = false, oldURLArg:String = "", newURLArg:String = ""):Void
© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/HashChangeEvent.html