deserialize

abstract fun deserialize(hash: String): T

Deserializes the window.location.hash to the given type T after the hashchange-event is fired.