Router

calico.router.Router
See theRouter companion object
abstract class Router[F[_]]

Attributes

Companion
object
Source
Router.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def back: F[Unit]

move backward in the session history

move backward in the session history

Attributes

Source
Router.scala
def dispatch(routes: Routes[F]): Resource[F, HtmlElement[F]]

Compile Routes into a renderable fs2.dom.HtmlElement

Compile Routes into a renderable fs2.dom.HtmlElement

Attributes

Source
Router.scala
def forward: F[Unit]

move forward in the session history

move forward in the session history

Attributes

Source
Router.scala
def go(delta: Int): F[Unit]

move forward (positive) or backward (negative) delta entries in the session history

move forward (positive) or backward (negative) delta entries in the session history

Attributes

Source
Router.scala
def length: Signal[F, Int]

the number of entries in the history

the number of entries in the history

Attributes

Source
Router.scala
def location: Signal[F, Uri]

the current location

the current location

Attributes

Source
Router.scala
def teleport(uri: Uri): F[Unit]

set the location a Uri and replace the current history entry

set the location a Uri and replace the current history entry

Attributes

Source
Router.scala

Concrete methods

def dispatch(routes: F[Routes[F]]): Resource[F, HtmlElement[F]]

Compile Routes into a renderable fs2.dom.HtmlElement

Compile Routes into a renderable fs2.dom.HtmlElement

Attributes

Source
Router.scala