case class Contramap[A, B](u: RouterCtl[A], f: (B) => A) extends RouterCtl[B] with Product with Serializable
- Alphabetic
- By Inheritance
- Contramap
- Serializable
- Product
- Equals
- RouterCtl
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def baseUrl: BaseUrl
- def byPath: RouterCtl[Path]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def contramap[B](f: (B) => B): RouterCtl[B]
- Definition Classes
- RouterCtl
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val f: (B) => A
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def link(route: B): vdom.html_<^.VdomTagOf[Anchor]
- Definition Classes
- RouterCtl
- final def narrow[B <: B]: RouterCtl[B]
- Definition Classes
- RouterCtl
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def onLinkClick(route: B): (react.ReactMouseEvent) => CallbackOption[Unit]
- Definition Classes
- RouterCtl
- final def onSet(f: (Callback) => Callback): RouterCtl[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
- RouterCtl
- final def onSet(f: (B, Callback) => Callback): RouterCtl[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
- RouterCtl
- final def onSetRun(f: Callback): RouterCtl[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
- RouterCtl
- def pathFor(b: B): Path
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def refresh: Callback
- def set(b: B, v: SetRouteVia): Callback
- final def set(route: B): Callback
- Definition Classes
- RouterCtl
- final def setEH(route: B): (react.ReactEvent) => Callback
- Definition Classes
- RouterCtl
- final def setOnClick(route: B): vdom.html_<^.TagMod
- Definition Classes
- RouterCtl
- final def setOnLinkClick(route: B): vdom.html_<^.TagMod
- Definition Classes
- RouterCtl
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val u: RouterCtl[A]
- final def urlFor(route: B): AbsUrl
- Definition Classes
- RouterCtl
- 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])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.
- final def link(route: B, callback: Callback): vdom.html_<^.VdomTagOf[Anchor]
- Definition Classes
- RouterCtl
- Annotations
- @deprecated
- Deprecated
(Since version forever) Use .onSetRun(callback).link(route)
- final def setOnClick(route: B, callback: Callback): vdom.html_<^.TagMod
- Definition Classes
- RouterCtl
- Annotations
- @deprecated
- Deprecated
(Since version forever) Use .onSetRun(callback).setOnClick(route)
- final def setOnLinkClick(route: B, callback: Callback): vdom.html_<^.TagMod
- Definition Classes
- RouterCtl
- Annotations
- @deprecated
- Deprecated
(Since version forever) Use .onSetRun(callback).setOnLinkClick(route)