core
/
dev.fritz2.routing
/
Route
js
Route
interface
Route
<
T
>
Content copied to clipboard
A Route is a abstraction for routes which needed for routing
Functions
Properties
Parameters
Inheritors
Parameters
T
type to de-/serialize from
Functions
deserialize
Link copied to clipboard
js
abstract fun
deserialize
(hash:
String
):
T
Content copied to clipboard
Deserializes the window.location.
equals
Link copied to clipboard
js
open operator fun
equals
(other:
Any
?):
Boolean
Content copied to clipboard
hashCode
Link copied to clipboard
js
open fun
hashCode
():
Int
Content copied to clipboard
serialize
Link copied to clipboard
js
abstract fun
serialize
(route:
T
):
String
Content copied to clipboard
Serializes a given object of type
T
to
String
for setting it to the window.location.
toString
Link copied to clipboard
js
open fun
toString
():
String
Content copied to clipboard
Properties
default
Link copied to clipboard
js
abstract val
default
:
T
Content copied to clipboard
Gives the default value when initialising the routing
Inheritors
StringRoute
Link copied to clipboard
MapRoute
Link copied to clipboard