kreuzberg.extras.Route$
See theRoute companion trait
object Route
Attributes
Members list
Type members
Classlikes
case class DependentRoute[S](pathCodec: PathCodec[S], fn: S => Component, titleFn: S => String) extends EagerRoute
A Route whose target depends on a value.
A Route whose target depends on a value.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait EagerRoutetrait Routeclass Objecttrait Matchableclass AnyShow all
trait EagerRoute extends Route
A Route which directly translates a path into a component
A Route which directly translates a path into a component
Attributes
- Supertypes
- Known subtypes
-
class DependentRoute[S]class SimpleRoute
case class LazyRoute[S](pathCodec: PathCodec[S], eagerTitle: S => String, routingTarget: S => AssemblerContext ?=> Effect[RoutingTarget]) extends Route
A Lazy route which fetches data.
A Lazy route which fetches data.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Routeclass Objecttrait Matchableclass AnyShow all
case class SimpleRoute(path: String, title: String, component: Component) extends EagerRoute
Simple Route without parameters.
Simple Route without parameters.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait EagerRoutetrait Routeclass Objecttrait Matchableclass AnyShow all
In this article