io.scalajs.dom.event.HashChangeEvent.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dom-html_sjs0.6_2.11 Show documentation
Show all versions of dom-html_sjs0.6_2.11 Show documentation
DOM/HTML bindings for Scala.js
package io.scalajs.dom.event
import io.scalajs.dom.Event
import scala.scalajs.js
/**
* Hash Change Event Object
* @author [email protected]
*/
@js.native
class HashChangeEvent extends Event {
/**
* Returns the URL of the document, after the hash has been changed
*/
def newURL: String = js.native
/**
* Returns the URL of the document, before the hash was changed
*/
def oldURL: String = js.native
}