ModCB
final case class ModCB[F[_], A](u: RouterCtlF[F, A], f: (A, F[Unit]) => F[Unit])(implicit x: Sync[F]) extends RouterCtlF[F, A]
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Value members
Concrete methods
Inherited methods
Change the behaviour of set and all derivatives.
Change the behaviour of set and all derivatives.
For example, this can be used to set a component's state immediately before setting a new route.
- Inherited from:
- RouterCtlF
Change the behaviour of set and all derivatives.
Change the behaviour of set and all derivatives.
For example, this can be used to set a component's state immediately before setting a new route.
- Inherited from:
- RouterCtlF
Return a new version of this that executes the specified callback after setting new routes.
Return a new version of this that executes the specified callback after setting new routes.
- Inherited from:
- RouterCtlF
Deprecated and Inherited methods
@deprecated("Use .onSetRun(callback).setOnClick(route)", "forever")
- Deprecated
- Inherited from:
- RouterCtlF
@deprecated("Use .onSetRun(callback).setOnLinkClick(route)", "forever")
- Deprecated
- Inherited from:
- RouterCtlF