SimpleRouter

kreuzberg.extras.SimpleRouter
See theSimpleRouter companion class
object SimpleRouter

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

case object EmptyComponent extends SimpleComponentBase

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class SimpleComponentBase
trait Component
trait Identified
trait SimpleContextDsl
trait ComponentDsl
trait ContextDsl
class Object
trait Matchable
class Any
Show all
Self type
object RoutingState

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait RoutingState

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Empty
class Failed
class Loaded
class Loading

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def goto: EventSink[UrlResource]

Event Sink for going to a specific route.

Event Sink for going to a specific route.

Attributes

def gotoRoot(): EventSink[Any]

Event sink for going to root (e.g. on logout)

Event sink for going to root (e.g. on logout)

Attributes

def gotoTarget(target: UrlResource): EventSink[Any]

Event Sink for going to a specific fixed route.

Event Sink for going to a specific fixed route.

Attributes

def loading: Subscribeable[Boolean]
def reload: EventSink[Any]

Concrete fields

val DefaultErrorHandler: (UrlResource, Throwable) => Component
val DefaultLoadingHandler: (Option[Route]) => Component
val gotoChannel: Channel[UrlResource]
val reloadChannel: Channel[Any]

Force a reload.

Force a reload.

Attributes