toggle menu
kilua-project
0.0.15
common
switch theme
search in API
kilua-routing
/
app.softwork.routingcompose
/
Router
Router
interface
Router
Members
Members & Extensions
Types
Companion
Link copied to clipboard
object
Companion
Properties
current
Path
Link copied to clipboard
abstract
val
currentPath
:
Path
The current path
Functions
get
Path
Link copied to clipboard
@
Composable
abstract
fun
getPath
(
initPath
:
String
)
:
State
<
String
>
navigate
Link copied to clipboard
abstract
fun
navigate
(
to
:
String
,
hide
:
Boolean
=
false
,
replace
:
Boolean
=
false
)
Navigate to a new path.
navigate
Link copied to clipboard
fun
Router
.
navigate
(
to
:
String
,
parameters
:
Parameters
,
hide
:
Boolean
=
false
,
replace
:
Boolean
=
false
)
fun
Router
.
navigate
(
to
:
String
,
parameters
:
Map
<
String
,
String
>
,
hide
:
Boolean
=
false
,
replace
:
Boolean
=
false
)
fun
Router
.
navigate
(
to
:
String
,
parameters
:
Map
<
String
,
List
<
String
>
>
,
hide
:
Boolean
=
false
,
replace
:
Boolean
=
false
)
route
Link copied to clipboard
@
Composable
fun
Router
.
route
(
initRoute
:
String
,
routing
:
@
Composable
RouteBuilder
.
(
)
->
Unit
)