Decompose-Router
0.10.0-SNAPSHOT
common
decompose-router
/
io.github.xxfast.decompose.router.slot
/
Router
Router
class
Router
<
C
:
Any
>
:
SlotNavigation
<
C
>
Members
Properties
navigation
Link copied to clipboard
val
navigation
:
SlotNavigation
<
C
>
slot
Link copied to clipboard
val
slot
:
State
<
ChildSlot
<
C
,
RouterContext
>
>
Functions
navigate
Link copied to clipboard
open
override
fun
navigate
(
transformer
:
(
configuration
:
C
?
)
->
C
?
,
onComplete
:
(
newConfiguration
:
C
?
,
oldConfiguration
:
C
?
)
->
Unit
)
subscribe
Link copied to clipboard
open
override
fun
subscribe
(
observer
:
(
SlotNavigation.Event
<
C
>
)
->
Unit
)
:
Cancellation