final case class ModCB[F[_], A](u: RouterCtlF[F, A], f: (A, F[Unit]) => F[Unit])(implicit x: Sync[F]) extends RouterCtlF[F, A] with Product with Serializable
- Alphabetic
- By Inheritance
- ModCB
- Serializable
- Product
- Equals
- RouterCtlF
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ModCB(u: RouterCtlF[F, A], f: (A, F[Unit]) => F[Unit])(implicit x: Sync[F])
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- implicit def F: Sync[F]
- Attributes
- protected
- Definition Classes
- ModCB → RouterCtlF
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def baseUrl: BaseUrl
- Definition Classes
- ModCB → RouterCtlF
- def byPath: RouterCtlF[F, Path]
- Definition Classes
- ModCB → RouterCtlF
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- final def contramap[B](f: (B) => A): RouterCtlF[F, B]
- Definition Classes
- RouterCtlF
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val f: (A, F[Unit]) => F[Unit]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def link(route: A): vdom.html_<^.VdomTagOf[Anchor]
- Definition Classes
- RouterCtlF
- final def narrow[B <: A]: RouterCtlF[F, B]
- Definition Classes
- RouterCtlF
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def onLinkClick(route: A): (internal.CoreGeneral.ReactMouseEvent) => Option[F[Unit]]
- Definition Classes
- RouterCtlF
- final def onSet(f: (F[Unit]) => F[Unit]): RouterCtlF[F, A]
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.
- Definition Classes
- RouterCtlF
- final def onSet(f: (A, F[Unit]) => F[Unit]): RouterCtlF[F, A]
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.
- Definition Classes
- RouterCtlF
- final def onSetRun(f: F[Unit]): RouterCtlF[F, A]
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.
- Definition Classes
- RouterCtlF
- def pathFor(a: A): Path
- Definition Classes
- ModCB → RouterCtlF
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def refresh: F[Unit]
- Definition Classes
- ModCB → RouterCtlF
- def set(a: A, v: SetRouteVia): F[Unit]
- Definition Classes
- ModCB → RouterCtlF
- final def set(route: A): F[Unit]
- Definition Classes
- RouterCtlF
- final def setEH(route: A): (internal.CoreGeneral.ReactEvent) => F[Unit]
- Definition Classes
- RouterCtlF
- final def setOnClick(route: A): vdom.html_<^.TagMod
- Definition Classes
- RouterCtlF
- final def setOnLinkClick(route: A): vdom.html_<^.TagMod
- Definition Classes
- RouterCtlF
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val u: RouterCtlF[F, A]
- final def urlFor(route: A): AbsUrl
- Definition Classes
- RouterCtlF
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withEffect[G[_]](implicit G: Sync[G]): RouterCtlF[G, A]
- Definition Classes
- RouterCtlF
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)
- final def link(route: A, callback: F[Unit]): vdom.html_<^.VdomTagOf[Anchor]
- Definition Classes
- RouterCtlF
- Annotations
- @deprecated
- Deprecated
(Since version forever) Use .onSetRun(callback).link(route)
- final def setOnClick(route: A, callback: F[Unit]): vdom.html_<^.TagMod
- Definition Classes
- RouterCtlF
- Annotations
- @deprecated
- Deprecated
(Since version forever) Use .onSetRun(callback).setOnClick(route)
- final def setOnLinkClick(route: A, callback: F[Unit]): vdom.html_<^.TagMod
- Definition Classes
- RouterCtlF
- Annotations
- @deprecated
- Deprecated
(Since version forever) Use .onSetRun(callback).setOnLinkClick(route)