W3cubDocs

/Haxe JavaScript

HashChangeEvent

package js.html

extends Event

@:native("HashChangeEvent") Available on js

The hashchange 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:

Constructor

new (type:String, ?eventInitDict:HashChangeEventInit)

Throws:

null DOMError

Variables

read only newURL:String

read only oldURL:String

Methods

initHashChangeEvent (typeArg:String, canBubbleArg:Bool, cancelableArg:Bool, oldURLArg:String, newURLArg:String):Void

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/HashChangeEvent.html