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