Packages

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

Linear Supertypes
Serializable, Product, Equals, RouterCtlF[F, B], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Contramap
  2. Serializable
  3. Product
  4. Equals
  5. RouterCtlF
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Contramap(u: RouterCtlF[F, A], f: (B) => A)(implicit x: Sync[F])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. implicit def F: Sync[F]
    Attributes
    protected
    Definition Classes
    ContramapRouterCtlF
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def baseUrl: BaseUrl
    Definition Classes
    ContramapRouterCtlF
  7. def byPath: RouterCtlF[F, Path]
    Definition Classes
    ContramapRouterCtlF
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  9. final def contramap[B](f: (B) => B): RouterCtlF[F, B]
    Definition Classes
    RouterCtlF
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. val f: (B) => A
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def link(route: B): vdom.html_<^.VdomTagOf[Anchor]
    Definition Classes
    RouterCtlF
  15. final def narrow[B <: B]: RouterCtlF[F, B]
    Definition Classes
    RouterCtlF
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  19. final def onLinkClick(route: B): (internal.CoreGeneral.ReactMouseEvent) => Option[F[Unit]]
    Definition Classes
    RouterCtlF
  20. 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
  21. 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
  22. 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
  23. def pathFor(b: B): Path
    Definition Classes
    ContramapRouterCtlF
  24. def productElementNames: Iterator[String]
    Definition Classes
    Product
  25. def refresh: F[Unit]
    Definition Classes
    ContramapRouterCtlF
  26. def set(b: B, v: SetRouteVia): F[Unit]
    Definition Classes
    ContramapRouterCtlF
  27. final def set(route: B): F[Unit]
    Definition Classes
    RouterCtlF
  28. final def setEH(route: B): (internal.CoreGeneral.ReactEvent) => F[Unit]
    Definition Classes
    RouterCtlF
  29. final def setOnClick(route: B): vdom.html_<^.TagMod
    Definition Classes
    RouterCtlF
  30. final def setOnLinkClick(route: B): vdom.html_<^.TagMod
    Definition Classes
    RouterCtlF
  31. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  32. val u: RouterCtlF[F, A]
  33. final def urlFor(route: B): AbsUrl
    Definition Classes
    RouterCtlF
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  36. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. def withEffect[G[_]](implicit G: Sync[G]): RouterCtlF[G, B]
    Definition Classes
    RouterCtlF

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

  2. 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)

  3. 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)

  4. 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)

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from RouterCtlF[F, B]

Inherited from AnyRef

Inherited from Any

Ungrouped